test/test_helper.rb in adzap-wicked_pdf-2.0.0.beta3 vs test/test_helper.rb in adzap-wicked_pdf-2.0.0.beta4
- old
+ new
@@ -3,10 +3,10 @@
require 'combustion'
Combustion.path = 'test/dummy'
Combustion.initialize!(:all) do
- if config.active_record.sqlite3.respond_to?(:represent_boolean_as_integer) # Rails 5.2
+ if Rails::VERSION::MAJOR < 6.0 && config.active_record.sqlite3.respond_to?(:represent_boolean_as_integer) # Rails 5.2
config.active_record.sqlite3.represent_boolean_as_integer = true
end
end
require 'rails/test_help'