Sha256: f94e73937b85cbbf896550f78fc45b6e26915dd7d1697b1ed351ddd9786d7050
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
require File.expand_path("../../../../spec/dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'rack/test' def app Rails.application end module RSpecApi module DSL module HttpClient include Rack::Test::Methods def ciao end def send_request(verb, route, body, authorization) header 'Accept', 'application/json' send verb, route, body end def response last_response end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-api-0.5.0 | lib/rspec-api/http_clients/local.rb |