fix tests

This commit is contained in:
albert
2011-07-22 19:02:53 -04:00
parent 9649e7f40a
commit 5d05769c2c
3 changed files with 14 additions and 12 deletions

View File

@@ -12,6 +12,6 @@ class FavoritesController < ApplicationController
end
def destroy
Post.find(params[:post_id]).remove_favorite!(CurrentUser.user)
Post.find(params[:id]).remove_favorite!(CurrentUser.user)
end
end