Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for collections controller specs

  • Loading branch information...
commit 3442fe737e131d561b50b72fde816085325e143d 1 parent 395e916
@robotmay authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/controllers/collections_controller_spec.rb
View
2  spec/controllers/collections_controller_spec.rb
@@ -11,7 +11,7 @@
before do
controller.stub(:track_last_viewed_photographs) { nil }
collection.stub(:id) { 1 }
- collection.stub_chain(:photographs, :visible, :page) { photographs }
+ collection.stub_chain(:photographs, :view_for, :page) { photographs }
Collection.stub(:find) { collection }
end
Please sign in to comment.
Something went wrong with that request. Please try again.