spec/spec_helper.rb in guard-consistency_fail-0.0.10 vs spec/spec_helper.rb in guard-consistency_fail-0.1.1
- old
+ new
@@ -1,8 +1,15 @@
-require 'rspec'
+require 'rubygems'
require 'guard/consistency_fail'
+require 'rspec'
ENV["GUARD_ENV"] = 'test'
RSpec.configure do |config|
- config.color_enabled = true
+ config.color = true
+ config.run_all_when_everything_filtered = true
+
+ config.before(:each) do
+ allow(Guard::UI).to receive(:notify).and_return(true)
+ end
+
end