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

pearkes / tugboat / 336
96%
master: 98%

Build:
Build:
LAST BUILD BRANCH: v2.2.3
DEFAULT BRANCH: master
Ran 03 Dec 2014 03:21PM UTC
Jobs 4
Files 72
Run time 1min
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
336

push

travis-ci

petems
New spec to catch when non-JSON errors given

Spec now fails as intended:

```
 Failure/Error: expect { @cli.verify }.to raise_error(SystemExit)
       expected SystemExit, got #<NoMethodError: undefined method `status' for #<String:0x007f80e3a2c590>> with backtrace:
         # ./lib/tugboat/middleware/authentication_middleware.rb:24:in `rescue in call'
         # ./lib/tugboat/middleware/authentication_middleware.rb:20:in `call'
         # ./lib/tugboat/middleware/check_credentials.rb:11:in `call'
         # ./lib/tugboat/middleware/inject_client.rb:33:in `call'
         # ./lib/tugboat/middleware/check_configuration.rb:19:in `call'
         # ./lib/tugboat/middleware/inject_configuration.rb:10:in `call'
         # ./lib/tugboat/cli.rb:49:in `verify'
         # ./spec/cli/verify_cli_spec.rb:26:in `block (4 levels) in <top (required)>'
         # ./spec/cli/verify_cli_spec.rb:26:in `block (3 levels) in <top (required)>'
```

6 of 6 new or added lines in 1 file covered. (100.0%)

1989 of 2077 relevant lines covered (95.76%)

25.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
spec/cli/verify_cli_spec.rb
Jobs
ID Job ID Ran Files Coverage
1 336.1 (1.9.2) 03 Dec 2014 03:21PM UTC 0
95.51
Travis Job 336.1
2 336.2 (1.9.3) 03 Dec 2014 03:22PM UTC 0
95.51
Travis Job 336.2
3 336.3 (2.0.0) 03 Dec 2014 03:22PM UTC 0
95.51
Travis Job 336.3
4 336.4 (2.1.0) 03 Dec 2014 03:21PM UTC 0
95.51
Travis Job 336.4
Source Files on build 336
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #336
  • 43b2d56f on github
  • Next Build on handle_non_json_errors (#337)
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