Skip to content

Commit

Permalink
Update AR specs for JRuby and AR 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HarlemSquirrel committed Jan 24, 2021
1 parent 0c88041 commit 7ebf23a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/ext/active_record_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
end
end

if RUBY_PLATFORM == 'java'
if RUBY_PLATFORM == 'java' && !activerecord_6_1?
raw_object_string.gsub!(
'ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer',
'ArJdbc::SQLite3::SQLite3Integer'
Expand Down Expand Up @@ -198,7 +198,7 @@
end
end

if RUBY_PLATFORM == 'java'
if RUBY_PLATFORM == 'java' && !activerecord_6_1?
raw_object_string.gsub!(
'ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer',
'ArJdbc::SQLite3::SQLite3Integer'
Expand Down

0 comments on commit 7ebf23a

Please sign in to comment.