Setup rspec tests

This commit is contained in:
Thibault Jouan
2015-04-07 15:43:41 +00:00
parent 8f9b767ce1
commit 7701b1d66d
3 changed files with 15 additions and 0 deletions

13
spec/spec_helper.rb Normal file
View File

@@ -0,0 +1,13 @@
require 'uh/wm'
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.disable_monkey_patching!
end