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

sferik / t / 998 / 6
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 08 Dec 2017 09:29PM UTC
Files 16
Run time 9min
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

08 Dec 2017 09:25PM UTC coverage: 99.068% (-0.1%) from 99.184%
ruby-head

Pull #386

travis-ci

web-flow
Return a media payload response from upload request

The twitter gem depends on the `media_id` key that’s returned as part of the upload request, so this adds a fixture that includes it.

Before this change, these tests were throwing the following error:

```
     TypeError:
       no implicit conversion of Symbol into Integer
     # /home/travis/.rvm/gems/ruby-2.3.3/gems/twitter-6.2.0/lib/twitter/rest/tweets.rb:227:in `[]'
     # /home/travis/.rvm/gems/ruby-2.3.3/gems/twitter-6.2.0/lib/twitter/rest/tweets.rb:227:in `block in update_with_media'
     # /home/travis/.rvm/gems/ruby-2.3.3/gems/twitter-6.2.0/lib/twitter/utils.rb:23:in `block in pmap'
     # /home/travis/.rvm/gems/ruby-2.3.3/gems/twitter-6.2.0/lib/twitter/utils.rb:23:in `collect'
     # /home/travis/.rvm/gems/ruby-2.3.3/gems/twitter-6.2.0/lib/twitter/utils.rb:23:in `pmap'
     # /home/travis/.rvm/gems/ruby-2.3.3/gems/twitter-6.2.0/lib/twitter/rest/tweets.rb:226:in `update_with_media'
     # ./lib/t/cli.rb:612:in `reply'
     # ./spec/cli_spec.rb:2562:in `block (4 levels) in <top (required)>'
```
Pull Request #386: Fix version dependencies and fix tests

1700 of 1716 relevant lines covered (99.07%)

62.47 hits per line

Source Files on job 998.6 (ruby-head)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 998
  • Travis Job 998.6
  • 34aeab8c on github
  • Prev Job for ruby-head on master (#996.6)
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