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

18 lines
397 B
Ruby

PROJECT_ROOT = File.expand_path('..', __dir__)
$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