Sha256: 33a993ae6716c72344b20b08241c6b8a18aa470877fc53b971d26af6df41f753

Contents?: true

Size: 296 Bytes

Versions: 6

Compression:

Stored size: 296 Bytes

Contents

module RackMiddlewareSpecHelper
  shared_context "200 OK", assert: :RequestSuccess do
    it 'should return 200 OK' do
      get @path
      expect(last_response.status).to eq 200
      expect(last_response.body).not_to be_nil
      expect(last_response.header).not_to be_empty
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facemock-oauth-0.0.6 spec/support/last_response_spec_helper.rb
facemock-oauth-0.0.5 spec/support/last_response_spec_helper.rb
facemock-oauth-0.0.4 spec/support/last_response_spec_helper.rb
facemock-oauth-0.0.3 spec/support/last_response_spec_helper.rb
facemock-oauth-0.0.2 spec/support/last_response_spec_helper.rb
facemock-oauth-0.0.1 spec/support/last_response_spec_helper.rb