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

algolia / algoliasearch-client-ruby / 447
97%

Build:
DEFAULT BRANCH: master
Ran 12 Oct 2017 04:14PM UTC
Jobs 5
Files 7
Run time 114min
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
447

Pull #236

travis-ci

web-flow
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
Pull Request #236: Allow to reuse the algolia webmocks

25 of 25 new or added lines in 1 file covered. (100.0%)

236 of 743 relevant lines covered (31.76%)

1.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
22
100.0
lib/algolia/webmock.rb
Jobs
ID Job ID Ran Files Coverage
2 447.2 (1.9.3) 12 Oct 2017 04:14PM UTC 0
31.85
Travis Job 447.2
3 447.3 (2.0.0) 12 Oct 2017 06:06PM UTC 0
31.85
Travis Job 447.3
4 447.4 (2.1.10) 12 Oct 2017 04:15PM UTC 0
31.85
Travis Job 447.4
5 447.5 (2.2.5) 12 Oct 2017 04:17PM UTC 0
31.85
Travis Job 447.5
7 447.7 (2.4.1) 12 Oct 2017 06:08PM UTC 0
31.81
Travis Job 447.7
Source Files on build 447
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #447
  • Pull Request #236
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