Fixed Interactor spec
This commit is contained in:
parent
d6d9dd9e75
commit
869ed2fa28
@ -3,8 +3,10 @@ require 'spec_helper'
|
|||||||
describe Guard::Interactor do
|
describe Guard::Interactor do
|
||||||
subject { Guard::Interactor }
|
subject { Guard::Interactor }
|
||||||
let(:guard) { mock "guard" }
|
let(:guard) { mock "guard" }
|
||||||
|
|
||||||
before :each do
|
before :each do
|
||||||
Guard.stub!(:guards).and_return([guard])
|
Guard.stub!(:guards).and_return([guard])
|
||||||
|
Guard.stub!(:options).and_return({})
|
||||||
Guard.stub!(:listener).and_return(mock(:start => nil, :stop => nil))
|
Guard.stub!(:listener).and_return(mock(:start => nil, :stop => nil))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user