15 lines
274 B
Ruby
15 lines
274 B
Ruby
|
require 'shoulda-matchers'
|
||
|
|
||
|
PROJECT_ROOT = File.expand_path('../..', __FILE__)
|
||
|
$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')
|
||
|
|
||
|
RSpec.configure do |config|
|
||
|
config.order = :random
|
||
|
|
||
|
config.expect_with :rspec do |c|
|
||
|
c.syntax = :expect
|
||
|
end
|
||
|
|
||
|
config.mock_with :rspec
|
||
|
end
|