Sha256: 6b2cd81de9d4c163f31250d1e419ef3774865905bdcf09b541e56d5368295c6c
Contents?: true
Size: 855 Bytes
Versions: 8
Compression:
Stored size: 855 Bytes
Contents
# Test Helpers for RSpec # # Actual API requests are slow and expensive and we try not to make actual # API request when possible. For most of our tests we mock the API call which # verifies the endpoint, http verb and headers and based on those it responses # with an identical fixture file. # # The main purpose of this file is to allow you to use our test helpers by # simplify adding this file to your application and then use the available # helper method when necessary. # # Please check `spec/support` directory to see the available helper methods. # # We do not include this module with the gem by default, but you can do so # by adding `require "digicert/rspec"` on top of your `spec_helpe` file. # require File.join(Digicert.root, "spec/support/fake_digicert_api.rb") RSpec.configure do |config| config.include Digicert::FakeDigicertApi end
Version data entries
8 entries across 8 versions & 1 rubygems