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

algolia / algoliasearch-client-ruby / 451
97%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2017 10:05AM UTC
Jobs 6
Files 9
Run time 17min
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

pending completion
451

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.

723 of 797 relevant lines covered (90.72%)

1139.34 hits per line

Jobs
ID Job ID Ran Files Coverage
2 451.2 (1.9.3) 31 Oct 2017 10:05AM UTC 0
90.66
Travis Job 451.2
3 451.3 (2.0.0) 31 Oct 2017 10:12AM UTC 0
90.66
Travis Job 451.3
4 451.4 (2.1.10) 31 Oct 2017 10:12AM UTC 0
90.66
Travis Job 451.4
5 451.5 (2.2.5) 31 Oct 2017 10:19AM UTC 0
90.66
Travis Job 451.5
6 451.6 (2.3.4) 31 Oct 2017 10:18AM UTC 0
90.67
Travis Job 451.6
7 451.7 (2.4.1) 31 Oct 2017 10:22AM UTC 0
90.67
Travis Job 451.7
Source Files on build 451
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #451
  • 4b1be58e on github
  • Prev Build on master (#449)
  • Next Build on master (#452)
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