2018-04-26 14:02:29 -04:00
|
|
|
require "bundler/setup"
|
2020-02-03 11:41:02 -05:00
|
|
|
require "database_cleaner-core"
|
2020-02-01 17:32:57 -05:00
|
|
|
require "byebug"
|
2010-05-30 23:18:57 -04:00
|
|
|
|
2012-07-08 06:51:27 -04:00
|
|
|
RSpec.configure do |config|
|
2018-04-26 12:29:13 -04:00
|
|
|
# These two settings work together to allow you to limit a spec run
|
|
|
|
# to individual examples or groups you care about by tagging them with
|
|
|
|
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
|
|
|
# get run.
|
|
|
|
config.filter_run :focus
|
|
|
|
config.run_all_when_everything_filtered = true
|
2018-04-30 22:31:44 -04:00
|
|
|
|
|
|
|
config.disable_monkey_patching!
|
2009-02-26 23:42:20 -05:00
|
|
|
end
|