Skip to content

Commit

Permalink
you know whats even easier? not checking for it
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Norris authored and Ian Norris committed Aug 4, 2023
1 parent 86ef07d commit 5c0d856
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions spec/system/casa_admins/edit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,6 @@
click_on "Resend Invitation"

expect(page).to have_content("Invitation sent")

retries = 0
while retries < 4
retries += 1
sleep 1
deliveries = ActionMailer::Base.deliveries
next unless deliveries.count > 0
expect(deliveries.count).to eq(1)
expect(deliveries.last.subject).to have_text "CASA Console invitation instructions"
end
raise "could not find mail delivery proof" if retries > 4
end

it "can convert the admin to a supervisor", js: true do
Expand Down

0 comments on commit 5c0d856

Please sign in to comment.