Skip to content

Commit

Permalink
Fix deprecated use of assert_nothing_raised
Browse files Browse the repository at this point in the history
  • Loading branch information
Silex committed Jul 5, 2018
1 parent 697b42d commit 0a94b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i18n/tests/interpolation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module Interpolation
end

test "interpolation: it does not raise I18n::MissingInterpolationArgument for escaped variables" do
assert_nothing_raised(I18n::MissingInterpolationArgument) do
assert_nothing_raised do
assert_equal 'Barr %{foo}', interpolate(:default => '%{bar} %%{foo}', :bar => 'Barr')
end
end
Expand Down

0 comments on commit 0a94b72

Please sign in to comment.