Move rainbow monkey patch to String to spec_helper
This commit is contained in:
parent
f182ea4ea5
commit
442735978c
|
@ -1,5 +1,4 @@
|
|||
require 'spec_helper'
|
||||
require 'rainbow/ext/string'
|
||||
|
||||
describe 'seed production settings', lib: true do
|
||||
include StubENV
|
||||
|
|
|
@ -26,6 +26,9 @@ if ENV['CI'] && !ENV['NO_KNAPSACK']
|
|||
Knapsack::Adapters::RSpecAdapter.bind
|
||||
end
|
||||
|
||||
# require rainbow gem String monkeypatch, so we can test SystemChecks
|
||||
require 'rainbow/ext/string'
|
||||
|
||||
# Requires supporting ruby files with custom matchers and macros, etc,
|
||||
# in spec/support/ and its subdirectories.
|
||||
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
||||
|
|
Loading…
Reference in New Issue