Commit d86eafca by Đường Sỹ Hoàng

Removed space

parent 28743142
......@@ -2,8 +2,7 @@ require "test_helper"
class UserTest < ActiveSupport::TestCase
def setup
@user = User.new(name: "Example User", email: "user@example.com",
password: "foobar", password_confirmation: "foobar")
@user = User.new(name: "Example User", email: "user@example.com", password: "foobar", password_confirmation: "foobar")
end
test "should be valid" do
......@@ -16,7 +15,7 @@ class UserTest < ActiveSupport::TestCase
end
test "email should be present" do
@user.email = " "
@user.email = ""
assert_not @user.valid?
end
......
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