Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Stubbing unrequired method.
Browse files Browse the repository at this point in the history
  • Loading branch information
philostler committed Nov 14, 2011
1 parent 8e4b864 commit 85ef53e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/poros/schedule_strategy_spec.rb
Expand Up @@ -7,7 +7,7 @@

describe "#every" do
it "should return the every duration" do
subject.should_receive(:strategy_formed).once
subject.stub :strategy_formed

subject.every 5

Expand All @@ -16,7 +16,7 @@

context "when a duration is specified" do
it "should set the every duration" do
subject.should_receive(:strategy_formed).once
subject.stub :strategy_formed

subject.every 7

Expand Down

0 comments on commit 85ef53e

Please sign in to comment.