We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ef2fe2 commit b1b6457Copy full SHA for b1b6457
spec/spec_helper.rb
@@ -36,9 +36,6 @@
36
# Required for serializing objects similar to production environments
37
GlobalID.app = 'meilisearch-test'
38
39
-OLD_RAILS = Gem.loaded_specs['rails'].version < Gem::Version.new('4.0')
40
-NEW_RAILS = Gem.loaded_specs['rails'].version >= Gem::Version.new('6.0')
41
-
42
Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |file| require file }
43
44
RSpec.configure do |c|
spec/support/active_record_schema.rb
@@ -17,12 +17,6 @@
17
18
FileUtils.rm('data.sqlite3') if File.exist?('data.sqlite3')
19
20
-unless OLD_RAILS || NEW_RAILS
21
- require 'active_job/test_helper'
22
23
- ActiveJob::Base.queue_adapter = :test
24
-end
25
26
def ar_schema
27
@ar_schema ||= ActiveRecord::Schema.new
28
end
0 commit comments