Sha256: 880e674210f1956b5f386fde1815ecd798eead3faad3a33c309e9af584bc5557
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
unless ENV['CI'] require 'simplecov' SimpleCov.start do add_filter 'spec' end end require 'rspec' require 'rspec/autorun' require 'webmock/rspec' require 'ostruct' require 'simple_http' RSpec.configure do |config| config.mock_with :rspec config.expect_with :rspec do |c| c.syntax = :expect end end def stub_delete(path='') stub_request(:delete, "https://example.com:443#{path}") end def stub_get(path='') stub_request(:get, "https://example.com:443#{path}") end def stub_post(path='') stub_request(:post, "https://example.com:443#{path}") end def stub_put(path='') stub_request(:put, "https://example.com:443#{path}") end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_http-0.1.1 | spec/spec_helper.rb |