17 lines
376 B
Ruby
17 lines
376 B
Ruby
require 'bundler/setup'
|
|
require 'rack/filter_param'
|
|
require 'rack/test'
|
|
require 'byebug'
|
|
|
|
RSpec.configure do |config|
|
|
# Enable flags like --only-failures and --next-failure
|
|
config.example_status_persistence_file_path = '.rspec_status'
|
|
|
|
# Include rack-test helpers
|
|
config.include Rack::Test::Methods
|
|
|
|
config.expect_with :rspec do |c|
|
|
c.syntax = :expect
|
|
end
|
|
end
|