mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
15 lines
443 B
Ruby
15 lines
443 B
Ruby
require "bundler/setup"
|
|
require "database_cleaner"
|
|
require "byebug"
|
|
|
|
RSpec.configure do |config|
|
|
# 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
|
|
|
|
config.disable_monkey_patching!
|
|
end
|
|
|