• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

skanev / evans / 319 / 2
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 27 Sep 2014 08:30AM UTC
Files 96
Run time 41s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Sep 2014 08:24AM UTC coverage: 99.855% (+0.003%) from 99.852%
2.1.0

Pull #148

travis-ci

stormbreakerbg
Move some tests out of the shared ones for the mailers

The shared examples in their previous form could not be used for
any other mailer, even though there may be other mailers that send
emails to multiple users. Also, the parametrization of the shared
examples makes it harder to follow the expectations of the tests.

Now, only the examples for the `#new_challenge` and `#new_task` methods
are shared. This will make the shared test usable for other mailers.
The other option is to make another mailer whose job is to retrieve
all users from the database and call another mailer, but the method
itself is small and making it more generic will be almost like
recreating the functionality of `User.where.each`.

The expectations in the separate mailer spec files are similar, but
for other similar mailers they may be different. For example an
announcement mailer would not contain the title of the announcement
in the body text (only in the subject) and would not use
`announcement_url(announcement)` to generate its URL.
Pull Request #148: Add email notifications for tasks and challenges

1377 of 1379 relevant lines covered (99.85%)

9.54 hits per line

Source Files on job 319.2 (2.1.0)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 319
  • Travis Job 319.2
  • 0ea59d02 on github
  • Prev Job for 2.1.0 on master (#303.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc