File tree 5 files changed +6
-4
lines changed
spec/elasticsearch/model/adapters/active_record
5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,5 @@ Gem::Specification.new do |s|
63
63
unless defined? ( JRUBY_VERSION )
64
64
s . add_development_dependency 'oj'
65
65
s . add_development_dependency 'ruby-prof'
66
- s . add_development_dependency 'sqlite3'
67
66
end
68
67
end
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ 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
- # gem 'mongoid', '~> 6'
31
31
32
32
group :development, :testing do
33
33
gem 'pry-nav'
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