File: delayed_job.feature

package info (click to toggle)
ruby-email-spec 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 980 kB
  • sloc: ruby: 2,420; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Feature: Delayed Job support
  In order for developers using delayed_job to test emails
  I want to be able to provide a compatibility layer, which
  should run all delayed jobs before checking email boxes
  In order to populate deliveries done via send_later

  Scenario: Newsletter
    Given no emails have been sent
    And I go to request a newsletter
    Then I should receive an email
    And I should have 1 email
    When I open the email
    Then I should see "Newsletter sent" in the email subject