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

octokit / octokit.rb / 1307
99%

Build:
DEFAULT BRANCH: master
Ran 23 Mar 2017 10:18AM UTC
Jobs 4
Files 0
Run time 7s
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
1307

Pull #877

travis-ci

web-flow
Make to understandable error message when `Octokit::Repository.new` is failed

Note: Test cases for this PR is failed now. It will be fixed if #876 was merged.

Currently, an error message of `Octokit::Repository.new` is unkind.

For example:

```ruby
Octokit::Repository.new(nil) # => Octokit::InvalidRepository: Invalid Repository. Use user/repo format.
```

If an user want to pass an id(Integer), this message is wrong for the user.

This change improves the error message.
So, this change makes debugging easier.
Pull Request #877: Make to understandable error message when `Octokit::Repository.new`is failed

7 of 7 new or added lines in 2 files covered. (100.0%)

6027 of 6069 relevant lines covered (99.31%)

268.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1307.1 (2.0) 23 Mar 2017 10:18AM UTC 0
99.31
Travis Job 1307.1
2 1307.2 (2.1) 23 Mar 2017 10:18AM UTC 0
99.31
Travis Job 1307.2
3 1307.3 (2.2) 23 Mar 2017 10:18AM UTC 0
99.31
Travis Job 1307.3
4 1307.4 (2.3.3) 23 Mar 2017 10:18AM UTC 0
99.26
Travis Job 1307.4
Source Files on build 1307
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1307
  • Pull Request #877
  • PR Base - master (#1305)
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