Skip to content

Commit

Permalink
Change to expect notation
Browse files Browse the repository at this point in the history
  • Loading branch information
willnet committed Jun 24, 2014
1 parent 03a41bc commit 0bc7d33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe "reports:generate" do
end
it "generates the report" do
ReportGenerator.should_receive(:generate)
expect(ReportGenerator).to receive(:generate)
subject.invoke
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/rake_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


it "generates the report" do
ReportGenerator.should_receive(:generate)
expect(ReportGenerator).to receive(:generate)
subject.invoke
end
end

0 comments on commit 0bc7d33

Please sign in to comment.