spec/lolita-i18n/exceptions_spec.rb in lolita-i18n-0.5.6 vs spec/lolita-i18n/exceptions_spec.rb in lolita-i18n-0.5.7

- old
+ new

@@ -1,15 +1,15 @@ require 'spec_helper' describe Lolita::I18n::Exceptions::MissingInterpolationArgument do it "create new StandartError with custom message" do error = Lolita::I18n::Exceptions::MissingInterpolationArgument.new(["arg1","arg2"]) - error.message.should eq("Translation should contain all these variables arg1, arg2") + expect(error.message).to eq("Translation should contain all these variables arg1, arg2") end end describe Lolita::I18n::Exceptions::TranslationDoesNotMatch do it "should cretae new ArgumentError with custom message" do error = Lolita::I18n::Exceptions::TranslationDoesNotMatch.new("translation", "original") - error.message.should eq("Translation translation does not match original") + expect(error.message).to eq("Translation translation does not match original") end end \ No newline at end of file