mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
3b0c872fca
This upgrade is mainly so we can use --only-failures which was introduced way back in RSpec 3.3.
20 lines
418 B
Ruby
20 lines
418 B
Ruby
PROJECT_ROOT = File.expand_path('../..', __FILE__)
|
|
$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')
|
|
|
|
require 'pry'
|
|
require 'pry-byebug'
|
|
|
|
require 'rspec'
|
|
|
|
RSpec.configure do |config|
|
|
config.expect_with :rspec do |c|
|
|
c.syntax = :expect
|
|
end
|
|
|
|
config.order = :random
|
|
config.default_formatter = 'doc'
|
|
config.mock_with :rspec
|
|
config.example_status_persistence_file_path = 'spec/examples.txt'
|
|
end
|
|
|
|
$VERBOSE = true
|