mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
18 lines
397 B
Ruby
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
|