Skip to content

Commit

Permalink
Fixed a paginate test
Browse files Browse the repository at this point in the history
  • Loading branch information
jferris committed Oct 19, 2008
1 parent 90997e8 commit 956fdd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/purchases_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PurchasesControllerTest < ActionController::TestCase
end

before_should "paginate the purchases" do
@purchases.expects(:paginate).with().returns(@purchases)
@purchases.expects(:paginate).returns(@purchases)
end

should_eventually "paginate purchases" do
Expand Down

0 comments on commit 956fdd3

Please sign in to comment.