1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/spec/spec_helper.rb
Elliot Winkler 3b0c872fca Update rspec & rspec-rails to 3.6.x
This upgrade is mainly so we can use --only-failures which was
introduced way back in RSpec 3.3.
2017-09-17 17:01:50 -05:00

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