1
0
mirror of https://github.com/bumi/rack-lightning synced 2025-06-15 15:08:12 +00:00
rack-lightning/spec/spec_helper.rb
2018-10-28 12:37:29 +01:00

15 lines
370 B
Ruby

require "bundler/setup"
require "rack/lightning"
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
# Disable RSpec exposing methods globally on `Module` and `main`
config.disable_monkey_patching!
config.expect_with :rspec do |c|
c.syntax = :expect
end
end