Permalink
Browse files

fixed failing tests

  • Loading branch information...
1 parent 1833193 commit 0a404612d59877706662da0cd2ed6ff3ead89764 @robzolkos robzolkos committed Oct 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/functional/punches_controller_test.rb
@@ -21,7 +21,7 @@ class PunchesControllerTest < ActionController::TestCase
post :create, :punch => @punch.attributes
end
- assert_redirected_to punch_path(assigns(:punch))
+ assert_redirected_to punches_path
end
test "should show punch" do
@@ -36,7 +36,7 @@ class PunchesControllerTest < ActionController::TestCase
test "should update punch" do
put :update, :id => @punch.to_param, :punch => @punch.attributes
- assert_redirected_to punch_path(assigns(:punch))
+ assert_redirected_to punches_path
end
test "should destroy punch" do

0 comments on commit 0a40461

Please sign in to comment.