Commit 44273597 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Move rainbow monkey patch to String to spec_helper

parent f182ea4e
require 'spec_helper' require 'spec_helper'
require 'rainbow/ext/string'
describe 'seed production settings', lib: true do describe 'seed production settings', lib: true do
include StubENV include StubENV
......
...@@ -26,6 +26,9 @@ if ENV['CI'] && !ENV['NO_KNAPSACK'] ...@@ -26,6 +26,9 @@ if ENV['CI'] && !ENV['NO_KNAPSACK']
Knapsack::Adapters::RSpecAdapter.bind Knapsack::Adapters::RSpecAdapter.bind
end 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, # Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories. # in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment