Fix blinky test

pull/1041/head
Rick Carlino 2018-11-13 07:51:35 -06:00
parent 1435aafe5e
commit bc362028ef
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ describe Users::Create do
end
it "stops users from registering twice" do
email = User.last.email || FactoryBot.create(:email)
email = (User.last || FactoryBot.create(:user)).email
results = Users::Create.run(email: email,
name: "Faker",
password: "password12345",