2015-02-05 20:03:32 -05:00
|
|
|
require_relative 'support/tests/current_bundle'
|
|
|
|
|
|
|
|
Tests::CurrentBundle.instance.assert_appraisal!
|
|
|
|
|
|
|
|
#---
|
|
|
|
|
2014-10-26 20:52:55 -04:00
|
|
|
require 'rspec/core'
|
2015-02-08 16:38:55 -05:00
|
|
|
require 'pry'
|
|
|
|
require 'pry-nav'
|
2014-10-26 20:52:55 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-10-26 20:52:55 -04:00
|
|
|
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
|