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

rspec / rspec-mocks / 3068 / 13
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 15 Dec 2017 03:55PM UTC
Files 26
Run time 2s
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

18 Jan 2016 08:33AM UTC coverage: 84.939%. First build
jruby-18mode, JRUBY_OPTS='--server -Xcompile.invokedynamic=false'

Pull #1056

travis-ci

nepalez
Allow inheriting mocks matchers

With reference to #1055

Allows rspec matchers inherited from `RSpec::Mocks::Matchers::*` to be used
both in mocks and expectations:

  class ReceiveFoo < RSpec::Mocks::Matchers::Receive
    def initialize
      super :foo, nil
    end
  end

  describe "receiving foo" do
    it "works" do
      object = double

      allow(object).to receive_foo
      expect(object).to receive_foo

      object.foo
    end
  end
Pull Request #1056: Allow inheriting mocks matchers

1252 of 1474 relevant lines covered (84.94%)

7.09 hits per line

Source Files on job 3068.13 (jruby-18mode, JRUBY_OPTS='--server -Xcompile.invokedynamic=false')
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3068
  • Travis Job 3068.13
  • 1147b468 on github
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