Permalink
Browse files

fix false-fail spec

  • Loading branch information...
1 parent 51a80c2 commit d8664c23ef733009cbafd0fdfb6eaa67f8e309ab @demental demental committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/controllers/users_controller_test.rb
@@ -23,7 +23,7 @@
post :update, id: user, user: valid_attributes
user.reload
assert_equal 'this_is_me', user.username
- assert_redirected_to user
+ assert_redirected_to edit_user_path(user)
end
it "re-renders the form if attributes are not valid" do

0 comments on commit d8664c2

Please sign in to comment.