Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Jun 12, 2024
1 parent 3ffd350 commit 987de6b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/system/budgets_view_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,13 @@
context "when user fills half signup sms form" do
before do
find("button.hollow:nth-child(1)").click

fill_in :sms_auth_phone_number, with: "4578878784"
click_button "Send the code"
end

it "redirects user to the half signup sms page" do
expect(page).to have_content("You should have received the code")
code = page.find("#hint").text

fill_in_code(code, "digit")
click_button "Verify"
expect(page).to have_content("You are now in the voting booth")
Expand Down

0 comments on commit 987de6b

Please sign in to comment.