spec/spec_helper.rb in end_state-0.12.0 vs spec/spec_helper.rb in end_state-1.0.0

- old
+ new

@@ -1,2 +1,19 @@ +if ENV['TRAVIS'] + require 'coveralls' + Coveralls.wear! +else + require 'simplecov' + SimpleCov.start +end + $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'end_state' +require 'end_state_matchers' + +module RSpec + module Matchers + def fail_with(message) + raise_error(RSpec::Expectations::ExpectationNotMetError, message) + end + end +end