We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0340746 commit d6c88ceCopy full SHA for d6c88ce
elasticsearch-model/spec/elasticsearch/model/adapters/active_record/serialization_spec.rb
@@ -37,7 +37,8 @@
37
context 'when a document is updated' do
38
39
before do
40
- article.update_attributes(title: 'UPDATED', status: 'yellow')
+ article.update_attribute(:title, 'UPDATED')
41
+ article.update_attribute(:status, 'yellow')
42
ArticleWithCustomSerialization.__elasticsearch__.refresh_index!
43
end
44
0 commit comments