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/acceptance_spec_helper.rb

32 lines
635 B
Ruby
Raw Normal View History

require_relative 'support/tests/current_bundle'
Tests::CurrentBundle.instance.assert_appraisal!
#---
require 'rspec/core'
require 'pry'
require 'pry-nav'
Dir[ File.join(File.expand_path('../support/acceptance/**/*.rb', __FILE__)) ].sort.each do |file|
require file
end
RSpec.configure do |config|
2014-11-06 16:16:30 -05:00
config.order = :random
config.expect_with :rspec do |c|
c.syntax = :expect
end
if config.respond_to?(:infer_spec_type_from_file_location!)
config.infer_spec_type_from_file_location!
end
AcceptanceTests::Helpers.configure_example_group(config)
config.include AcceptanceTests::Matchers
end
$VERBOSE = true