mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
remove things which complicate the test suite
This commit is contained in:
parent
06d6e5c943
commit
d67e82473e
3 changed files with 0 additions and 9 deletions
2
Gemfile
2
Gemfile
|
@ -14,8 +14,6 @@ end
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
gem 'minitest'
|
gem 'minitest'
|
||||||
gem 'minitest-focus'
|
|
||||||
gem 'minitest-reporters'
|
|
||||||
gem 'simplecov'
|
gem 'simplecov'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,5 @@ module Dummy
|
||||||
config.root = File.expand_path("../..", __FILE__)
|
config.root = File.expand_path("../..", __FILE__)
|
||||||
config.eager_load = false
|
config.eager_load = false
|
||||||
config.logger = Logger.new('/dev/null')
|
config.logger = Logger.new('/dev/null')
|
||||||
|
|
||||||
if Rails::VERSION::MAJOR >= 5
|
|
||||||
config.active_record.sqlite3.represent_boolean_as_integer = true
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,11 +3,8 @@
|
||||||
require 'bundler/setup'
|
require 'bundler/setup'
|
||||||
Bundler.require(:default, :test)
|
Bundler.require(:default, :test)
|
||||||
|
|
||||||
require 'minitest/reporters'
|
|
||||||
require 'minitest/autorun'
|
require 'minitest/autorun'
|
||||||
|
|
||||||
MiniTest::Reporters.use! Minitest::Reporters::DefaultReporter.new
|
|
||||||
|
|
||||||
$TESTING = true
|
$TESTING = true
|
||||||
# disable minitest/parallel threads
|
# disable minitest/parallel threads
|
||||||
ENV["N"] = "0"
|
ENV["N"] = "0"
|
||||||
|
|
Loading…
Add table
Reference in a new issue