2015-10-07 17:09:59 +00:00
|
|
|
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
|
|
|
|
|
2017-07-25 02:15:24 +00:00
|
|
|
config.order = :random
|
2016-01-07 18:47:31 +00:00
|
|
|
config.default_formatter = 'doc'
|
2015-10-07 17:09:59 +00:00
|
|
|
config.mock_with :rspec
|
2017-07-25 02:15:24 +00:00
|
|
|
config.example_status_persistence_file_path = 'spec/examples.txt'
|
2015-10-07 17:09:59 +00:00
|
|
|
end
|