Browse files

Prevents notification on revaluate_guardfile spec

  • Loading branch information...
1 parent 694664c commit be8cd87be95a976bc5ee279c6af775244fbdab60 Thibaud Guillaume-Gentil committed Jul 15, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/guard/dsl_spec.rb
View
1 spec/guard/dsl_spec.rb
@@ -131,6 +131,7 @@
before(:each) { ::Guard::Dsl.stub!(:instance_eval_guardfile) }
it "resets already definded guards before calling evaluate_guardfile" do
+ Guard::Notifier.turn_off
subject.evaluate_guardfile(:guardfile_contents => invalid_guardfile_string)
::Guard.guards.should_not be_empty
::Guard::Dsl.should_receive(:evaluate_guardfile)

0 comments on commit be8cd87

Please sign in to comment.