Permalink
Browse files

Fix for collections controller specs

  • Loading branch information...
1 parent 395e916 commit 3442fe737e131d561b50b72fde816085325e143d @robotmay committed Feb 2, 2014
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

0 comments on commit 3442fe7

Please sign in to comment.