Skip to content

Commit a883d5d

Browse files
jyeharrycompwron
authored andcommitted
Remove ActionMailer call in casa_cases spec
1 parent ee8ab93 commit a883d5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/system/casa_cases/show_more_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
click_on "Send Reminder"
3434

35+
expect(page).to have_current_path(edit_volunteer_path(volunteer))
3536
expect(page).to have_text("Reminder sent to volunteer")
36-
expect(ActionMailer::Base.deliveries.count).to eq(1)
3737
end
3838
end
3939

@@ -47,8 +47,8 @@
4747

4848
click_on "Send Reminder"
4949

50+
expect(page).to have_current_path(edit_volunteer_path(volunteer))
5051
expect(page).to have_text("Reminder sent to volunteer")
51-
expect(ActionMailer::Base.deliveries.count).to eq(1)
5252
end
5353
end
5454

0 commit comments

Comments
 (0)