Sha256: 64bed4d28ecb747ca9f8d6a32a44dc11e9b01471b089a20ac704d342218218ca
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
#FIXME #unless ENV['CI'] # require 'simplecov' # SimpleCov.start do # add_filter 'spec' # end #end require 'capgun' require 'rspec' require 'webmock/rspec' def stub_get(path, endpoint=Capgun.endpoint) stub_request(:get, endpoint + path) end def stub_post(path, endpoint=Capgun.endpoint) stub_request(:post, endpoint + path) end def fixture_path File.expand_path("../fixtures", __FILE__) end def fixture(file) File.new(fixture_path + '/' + file) end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
capgun-0.2.0 | spec/spec_helper.rb |
capgun-0.1.2 | spec/spec_helper.rb |
capgun-0.1.1 | spec/spec_helper.rb |
capgun-0.1.0 | spec/spec_helper.rb |
capgun-0.0.3 | spec/spec_helper.rb |