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

algolia / algoliasearch-client-ruby / 451 / 7
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2017 10:22AM UTC
Files 9
Run time 0s
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

31 Oct 2017 09:58AM UTC coverage: 90.668% (+0.05%) from 90.621%
2.4.1

push

travis-ci

raphi
Allow to reuse the algolia webmocks (#236)

* Allow to reuse the algolia webmocks

This is needed because when you require algolia/webmock, the mocks will
work only in one spec at rspec, if you required webmock/rspec.

This happens because webmock/rspec will clear all stubs between examples
and we need to stub again for the next one.

The new approach is:

    require 'algolia/webmock'

    RSpec.configure do |config|
      config.before(:each) { Algolia::WebMock.mock! }
    end

* Mock the requests when requiring the webmock

This will make this change in a incremental way, the old behavior will
be kept and for those who wants to reuse can still call the method
manually.

719 of 793 relevant lines covered (90.67%)

157.69 hits per line

Source Files on job 451.7 (2.4.1)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 451
  • Travis Job 451.7
  • 4b1be58e on github
  • Prev Job for 2.4.1 on master (#449.7)
  • Next Job for 2.4.1 on master (#452.7)
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