spec/concerns/renderable_spec.rb in activity_notification-2.2.4 vs spec/concerns/renderable_spec.rb in activity_notification-2.3.0
- old
+ new
@@ -75,10 +75,10 @@
context "when the text is missing for the target type" do
it "returns translation missing text" do
test_instance.target = create(:admin)
test_instance.key = "notification.#{simple_text_key}"
expect(test_instance.text)
- .to eq("translation missing: en.notification.admin.#{simple_text_key}.text")
+ .to eq("Translation missing: en.notification.admin.#{simple_text_key}.text")
end
end
context "when the text has embedded parameters" do
it "raises MissingInterpolationArgument without embedded parameters" do