From 869ed2fa28b60f04f90e2d91e514d505911abea9 Mon Sep 17 00:00:00 2001 From: Thibaud Guillaume-Gentil Date: Fri, 6 May 2011 21:14:39 +0200 Subject: [PATCH] Fixed Interactor spec --- spec/guard/interactor_spec.rb | 2 ++ 1 file changed, 2 insertions(+) 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