mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 10:41:45 +08:00
008b700a3f
This patch upgrades Rails to version 7.0.2.4.
11 lines
270 B
Ruby
11 lines
270 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.describe I18nInterpolationKeysFinder do
|
|
describe '#find' do
|
|
it 'should return the right keys' do
|
|
expect(described_class.find('%{first} %{second} {{third}}'))
|
|
.to eq(['first', 'second', 'third'])
|
|
end
|
|
end
|
|
end
|