1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: update_attributes has been replaces w update.
Author: Utkarsh Gupta <utkarsh@debian.org>
Origin: vendor
Bug: https://github.com/grosser/fast_gettext/issues/135
Last-Update: 2022-01-18
--- a/spec/fast_gettext/translation_repository/db_spec.rb
+++ b/spec/fast_gettext/translation_repository/db_spec.rb
@@ -112,6 +112,6 @@
it "expires the cache when updated" do
FastGettext.should_receive(:expire_cache_for).with('car')
translation_text = create_translation 'car', 'Auto'
- translation_text.update_attributes :text => 'Autobot'
+ translation_text.update :text => 'Autobot'
end
end
|