Prevents notification on revaluate_guardfile spec
This commit is contained in:
parent
694664ced8
commit
be8cd87be9
@ -131,6 +131,7 @@ describe Guard::Dsl do
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user