Sha256: 835e024f8ea2da203041baea6441a7193bbf1c04aa4f85f7cc5ee88299bbfad4

Contents?: true

Size: 406 Bytes

Versions: 5

Compression:

Stored size: 406 Bytes

Contents

require 'rails_helper'

RSpec.describe 'Integration', type: :request do
  describe 'error cases' do
    it 'should raise error with nil group configuration' do
      expect {
        get '/nil_group'
      }.to raise_error(ArgumentError)
    end

    it 'should raise error with empty group configuration' do
      expect {
        get '/empty_group'
      }.to raise_error(ArgumentError)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
master_api_key-2.0.1 spec/requests/master_api_key/integration_spec.rb
master_api_key-1.2.0 spec/requests/master_api_key/integration_spec.rb
master_api_key-1.1.1 spec/requests/master_api_key/integration_spec.rb
master_api_key-1.1.0 spec/requests/master_api_key/integration_spec.rb
master_api_key-1.0.0 spec/requests/master_api_key/integration_spec.rb