Skip to content

Commit d6c88ce

Browse files
committed
Update test
1 parent 0340746 commit d6c88ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

elasticsearch-model/spec/elasticsearch/model/adapters/active_record/serialization_spec.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
context 'when a document is updated' do
3838

3939
before do
40-
article.update_attributes(title: 'UPDATED', status: 'yellow')
40+
article.update_attribute(:title, 'UPDATED')
41+
article.update_attribute(:status, 'yellow')
4142
ArticleWithCustomSerialization.__elasticsearch__.refresh_index!
4243
end
4344

0 commit comments

Comments
 (0)