fix functional tests

This commit is contained in:
albert
2012-01-15 17:04:22 -05:00
parent 0887c35922
commit 4283bce8b9
6 changed files with 15 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ class FavoritesControllerTest < ActionController::TestCase
context "with a specified tags parameter" do
should "redirect to the posts controller" do
get :index, {:tags => "abc"}, {:user_id => @user}
get :index, {:tags => "fav:#{@user.name} abc"}, {:user_id => @user}
assert_redirected_to(posts_path(:tags => "fav:#{@user.name} abc"))
end
end