Skip to content

Commit b4e15ab

Browse files
stefannibrasilcompwron
authored andcommitted
remove unused factory
1 parent a199cc6 commit b4e15ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/system/devise/passwords/new_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
end
3030

3131
it "displays error if user tries to submit an empty form" do
32-
user = build(:user, email: "glados@example.com", phone_number: "+16578900012")
33-
3432
click_on "Send me reset password instructions"
3533
expect(page).to have_text("Please enter at least one field.")
3634
end

0 commit comments

Comments
 (0)