diff --git a/spec/guard/interactor_spec.rb b/spec/guard/interactor_spec.rb index 6471f52..9621831 100644 --- a/spec/guard/interactor_spec.rb +++ b/spec/guard/interactor_spec.rb @@ -3,8 +3,10 @@ require 'spec_helper' describe Guard::Interactor do subject { Guard::Interactor } let(:guard) { mock "guard" } + before :each do Guard.stub!(:guards).and_return([guard]) + Guard.stub!(:options).and_return({}) Guard.stub!(:listener).and_return(mock(:start => nil, :stop => nil)) end