Skip to content

Commit

Permalink
fix a spec relying on global options
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Oct 12, 2008
1 parent 7a8b83b commit aacfbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/view_helpers/link_renderer_base_spec.rb
Expand Up @@ -50,7 +50,7 @@ class LegacyCollection < WillPaginate::Collection
end

it "should have pagination definition" do
prepare :total_pages => 1
prepare({ :total_pages => 1 }, :page_links => true)
@renderer.pagination.should == [:previous_page, 1, :next_page]
end

Expand Down

0 comments on commit aacfbca

Please sign in to comment.