diff --git a/spec/interpolations_spec.rb b/spec/interpolations_spec.rb index bb4e2579..18efe008 100644 --- a/spec/interpolations_spec.rb +++ b/spec/interpolations_spec.rb @@ -5,8 +5,8 @@ RSpec.describe 'Interpolations' do let!(:task) { I18n::Tasks::BaseTask.new } - let(:base_keys) { { 'a' => 'hello %{world}', 'b' => 'foo', 'c' => { 'd' => 'hello %{name}' }, 'e' => 'ok' } } - let(:test_keys) { { 'a' => 'hello', 'b' => 'foo %{bar}', 'c' => { 'd' => 'hola %{amigo}' }, 'e' => 'ok' } } + let(:base_keys) { { 'a' => 'hello %{world}', 'b' => 'foo', 'c' => { 'd' => 'hello %{name}' }, 'e' => 'ok', 'f' => '%%{escaped}', 'g' => 'okay' } } + let(:test_keys) { { 'a' => 'hello', 'b' => 'foo %{bar}', 'c' => { 'd' => 'hola %{amigo}' }, 'e' => 'ok', 'f' => 'okay', 'g' => '%%{ignored}' } } around do |ex| TestCodebase.setup(