Sha256: 8c78f270d03088f7dfffbace15a56abc7247274e079d44b6c84f9e8941d8819c
Contents?: true
Size: 449 Bytes
Versions: 15
Compression:
Stored size: 449 Bytes
Contents
shared_context 'with a running app' do let(:app) { Rack::Builder.parse_file('config.ru').first } end shared_context 'with a running app and client' do include_context 'with a running app' let(:client) do Hyperclient.new('http://example.org/') do |client| client.connection(default: false) do |conn| conn.request :hal_json conn.response :json conn.use Faraday::Adapter::Rack, app end end end end
Version data entries
15 entries across 15 versions & 1 rubygems