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

stripe / stripe-ruby / 3763 / 5
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2021 05:51PM UTC
Files 106
Run time 26s
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

09 Feb 2021 05:50PM UTC coverage: 96.755%. Remained the same
2.7, STRIPE_MOCK_VERSION=0.101.0

push

travis-ci

web-flow
Fix return value of `Customer#delete_discount` (#964)

`Customer#delete_discount` has been broken for some time in that it
tries to re-initialize `self` (which is a customer) with a received
discount response. This is incorrect and leads to various problems.

Here, we redefine the return value of `delete_discount` as a discount,
and have it no longer mutate the object on which is was called. We add a
comment as well just to help flag some of the behavior which could
potentially be confusing.

Fixes #963.

2117 of 2188 relevant lines covered (96.76%)

495.86 hits per line

Source Files on job 3763.5 (2.7, STRIPE_MOCK_VERSION=0.101.0)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3588
  • Travis Job 3763.5
  • c28ee66a on github
  • Prev Job for 2.7, STRIPE_MOCK_VERSION=0.101.0 on master (#3758.5)
  • Next Job for 2.7, STRIPE_MOCK_VERSION=0.101.0 on master (#3764.5)
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