Skip to content

Commit

Permalink
Tidy up specs
Browse files Browse the repository at this point in the history
  • Loading branch information
dcyoung-dev committed Jan 21, 2025
1 parent 3cf1dd0 commit 68983e9
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# Sign in - with OneLoginAuth, using OneLoginAuth email address
given_i_have_a_connected_my_one_login_account
when_i_visit_the_sign_in_page
and_i_submit_my_one_login_email_address
and_i_submit_my_email_address(@one_login_email_address)
then_i_receive_an_email_at_my_one_login_email_address_with_a_sign_in_link
when_i_click_on_the_link_in_my_email
and_i_confirm_sign_in
Expand Down Expand Up @@ -95,10 +95,6 @@ def given_i_have_a_connected_my_one_login_account
create(:one_login_auth, candidate: candidate, email_address: @one_login_email_address) if candidate.one_login_auth.blank?
end

def and_i_submit_my_one_login_email_address
and_i_submit_my_email_address(@one_login_email_address)
end

def then_i_receive_an_email_at_my_one_login_email_address_with_a_sign_in_link
then_i_receive_an_email_with_a_sign_in_link(@one_login_email_address)
end
Expand Down

0 comments on commit 68983e9

Please sign in to comment.