Skip to content

Commit dd786fa

Browse files
committed
Updates serialization spec
1 parent f5d82f6 commit dd786fa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: elasticsearch-model/spec/elasticsearch/model/adapters/active_record/serialization_spec.rb

+3-2
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@
5252
end
5353

5454
context 'when a document is updated' do
55-
5655
before do
57-
article.update_attributes(title: 'UPDATED', status: 'yellow')
56+
article.update_attribute(title: 'UPDATED')
57+
article.update_attribute(status: 'yellow')
58+
5859
ArticleWithCustomSerialization.__elasticsearch__.refresh_index!
5960
end
6061

0 commit comments

Comments
 (0)