Sha256: 94c86c9dc7515f96c8eae323c01c699a5c1a568c387f23f827ec1c830105aac1

Contents?: true

Size: 114 Bytes

Versions: 8

Compression:

Stored size: 114 Bytes

Contents

shared_examples "an ok request" do
  it 'responds with a 200 code' do
    expect(last_response).to be_ok
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
learn-generate-1.0.16 lib/templates/rack/spec/support/an_ok_request.rb
learn-generate-1.0.15 lib/templates/rack/spec/support/an_ok_request.rb
learn-generate-1.0.14 lib/templates/rack/spec/support/an_ok_request.rb
learn-generate-1.0.13 lib/templates/rack/spec/support/an_ok_request.rb
learn-generate-1.0.12 lib/templates/rack/spec/support/an_ok_request.rb
learn-generate-1.0.11 lib/templates/rack/spec/support/an_ok_request.rb
learn-generate-1.0.1 lib/templates/rack/spec/support/an_ok_request.rb
learn-generate-1.0.0 lib/templates/rack/spec/support/an_ok_request.rb