File tree 4 files changed +6
-2
lines changed
spec/elasticsearch/model/adapters/active_record
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ gemspec path: '../'
26
26
27
27
gem 'activemodel', '6.0'
28
28
gem 'activerecord', '6.0'
29
+ gem 'activesupport', '6.0'
29
30
gem 'sqlite3' unless defined?(JRUBY_VERSION)
30
31
# gem 'mongoid', '~> 6'
31
32
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ gemspec path: '../'
26
26
27
27
gem 'activemodel', '7.0'
28
28
gem 'activerecord', '7.0'
29
+ gem 'activesupport', '7.0'
29
30
gem 'sqlite3' unless defined?(JRUBY_VERSION)
30
31
31
32
group :development, :testing do
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ gemspec path: '../'
26
26
27
27
gem 'activemodel', '7.1'
28
28
gem 'activerecord', '7.1'
29
+ gem 'activesupport', '7.1'
29
30
gem 'sqlite3' unless defined?(JRUBY_VERSION)
30
31
31
32
group :development, :testing do
Original file line number Diff line number Diff line change 52
52
end
53
53
54
54
context 'when a document is updated' do
55
-
56
55
before do
57
- article . update_attributes ( title : 'UPDATED' , status : 'yellow' )
56
+ article . update_attribute ( :title , 'UPDATED' )
57
+ article . update_attribute ( :status , 'yellow' )
58
+
58
59
ArticleWithCustomSerialization . __elasticsearch__ . refresh_index!
59
60
end
60
61
You can’t perform that action at this time.
0 commit comments