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

NZOI / nztrain / 893 / 1
33%
master: 38%

Build:
Build:
LAST BUILD BRANCH: feature/subtask-scoring
DEFAULT BRANCH: master
Ran 02 Mar 2020 06:12AM UTC
Files 153
Run time 16s
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

02 Mar 2020 06:07AM UTC coverage: 33.139%. Remained the same
2.3.8

Pull #101

travis-ci

web-flow
Explicitly enable rspec's old `should` syntax to dismiss deprecation warning

From https://relishapp.com/rspec/rspec-expectations/docs/syntax-configuration:

> We recommend you use the `expect` syntax unless you have a specific
> reason you prefer the `should` syntax. We have no plans to ever
> completely remove the `should` syntax but starting in RSpec 3, a
> deprecation warning will be issued if you do not explicitly enable
> it, with the plan to disable it by default in RSpec 4 (and
> potentially move it into an external gem).

A lot of our specs use `should`, so converting to `expect` will be a
chore. We should do it at some point, but it's not urgent so dismiss
the deprecation warning for now.

Deprecation warning dismissed:

Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from nztrain/spec/controllers/accounts/passwords_controller_spec.rb:10:in `block (2 levels) in <top (required)>'.
Pull Request #101: Update RSpec from 2 to 3.9

2325 of 7016 relevant lines covered (33.14%)

4.8 hits per line

Source Files on job 893.1 (2.3.8)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 605
  • Travis Job 893.1
  • 3cbab68e on github
  • Prev Job for 2.3.8 on update-rspec-3.9 (#859.1)
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