We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5d82f6 commit dd786faCopy full SHA for dd786fa
elasticsearch-model/spec/elasticsearch/model/adapters/active_record/serialization_spec.rb
@@ -52,9 +52,10 @@
52
end
53
54
context 'when a document is updated' do
55
-
56
before do
57
- article.update_attributes(title: 'UPDATED', status: 'yellow')
+ article.update_attribute(title: 'UPDATED')
+ article.update_attribute(status: 'yellow')
58
+
59
ArticleWithCustomSerialization.__elasticsearch__.refresh_index!
60
61
0 commit comments