Sha256: d29a1f93820fac8b8791e1ecf418d521f39a079025e8afb3366acd14ac9dc76b

Contents?: true

Size: 755 Bytes

Versions: 7

Compression:

Stored size: 755 Bytes

Contents

# RSpec Test Helpers
#
# Actual API requests are slow and expensive and we try not to make
# actual request when possible. For most of our tests we mock those
# 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 the user to use our test
# helpers by simplify adding this file to their application and then
# use the available helper  method when necessary.
#
# We do not require this module with the gem by default, but you can
# do so by adding `require "ribose/rspec"` on top of `spec_helper`
#
require File.join(Ribose.root, "spec/support/fake_ribose_api.rb")

RSpec.configure do |config|
  config.include Ribose::FakeRiboseApi
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ribose-0.5.0 lib/ribose/rspec.rb
ribose-0.4.1 lib/ribose/rspec.rb
ribose-0.4.0 lib/ribose/rspec.rb
ribose-0.3.2 lib/ribose/rspec.rb
ribose-0.3.1 lib/ribose/rspec.rb
ribose-0.3.0 lib/ribose/rspec.rb
ribose-0.2.0 lib/ribose/rspec.rb