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

rspec / rspec-mocks / 1058 / 3
97%
master: 63%

Build:
Build:
LAST BUILD BRANCH: use-method-handle-for-from-support
DEFAULT BRANCH: master
Ran 21 Aug 2013 04:50PM UTC
Files 38
Run time –
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

21 Aug 2013 04:50PM UTC coverage: 96.352% (-0.9%) from 97.224%
1.9.3

push

travis-ci

myronmarston
Fix 1.8.7 failure by putting special-case code for 1.8.7.

On 1.9+, the following code snippet works fine but it fails on
1.8.7 with `TypeError: singleton method bound for a different object`

  klass = Class.new do
    def self.say_hello; end
  end

  subclass = Class.new(klass)

  hello_method = klass.method(:say_hello)
  (class << klass; self; end).__send__(:define_method, :say_hello, &hello_method)

  subclass.say_hello

The best we can do is to revert to the old stashing/unstashing code
for 1.8.7.

1717 of 1782 relevant lines covered (96.35%)

124.05 hits per line

Source Files on job 1058.3 (1.9.3)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1058
  • Travis Job 1058.3
  • 4e7543fd on github
  • Prev Job for 1.9.3 on regression-with-264 (#1051.3)
  • Next Job for 1.9.3 on regression-with-264 (#1061.3)
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