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

NZOI / nztrain / 893
33%
master: 38%

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

pending completion
893

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

Jobs
ID Job ID Ran Files Coverage
1 893.1 (2.3.8) 02 Mar 2020 06:12AM UTC 0
33.14
Travis Job 893.1
Source Files on build 893
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #893
  • Pull Request #101
  • PR Base - master (#859)
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