Add RSpec for high-level integration testing

This commit is contained in:
Eric Freese
2017-01-19 22:33:17 -07:00
parent af671fb406
commit e6591d5de0
5 changed files with 49 additions and 0 deletions

13
spec/spec_helper.rb Normal file
View File

@@ -0,0 +1,13 @@
require 'rspec/wait'
RSpec.configure do |config|
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
end
config.mock_with :rspec do |mocks|
mocks.verify_partial_doubles = true
end
config.wait_timeout = 2
end