Commit 4cf15f35 by Đường Sỹ Hoàng

Fixed space

parent 66ea702f
...@@ -20,7 +20,7 @@ class UsersEditTest < ActionDispatch::IntegrationTest ...@@ -20,7 +20,7 @@ class UsersEditTest < ActionDispatch::IntegrationTest
assert_template "users/edit" assert_template "users/edit"
name = "Foo Bar" name = "Foo Bar"
email = "foo@bar.com" email = "foo@bar.com"
patch user_path(@user), params: { user: { name: name,email: email, password: "", password_confirmation: "" } } patch user_path(@user), params: { user: { name: name, email: email, password: "", password_confirmation: "" } }
assert_not flash.empty? assert_not flash.empty?
assert_redirected_to @user assert_redirected_to @user
@user.reload @user.reload
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment