From c52139b3962e293831e0d19d8f1f880f6cc1d70c Mon Sep 17 00:00:00 2001 From: Yann Lugrin Date: Wed, 3 Nov 2010 12:02:37 +0100 Subject: [PATCH] complete Guard::start testing --- spec/guard_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/guard_spec.rb b/spec/guard_spec.rb index e8648e4..70283f1 100644 --- a/spec/guard_spec.rb +++ b/spec/guard_spec.rb @@ -116,6 +116,11 @@ describe Guard do subject.start end + + it 'should start listener' do + @listener.should_receive(:start) + subject.start + end end