Sha256: 4c6ab1c4c6f645c2d0ae58e80f165aaab64b208bd051cdba6142e47310c38e7a

Contents?: true

Size: 471 Bytes

Versions: 10

Compression:

Stored size: 471 Bytes

Contents

require_relative "../spec_helper"

describe Kong::OAuthApp do
  let(:valid_attribute_names) do
    %w(id name client_id client_secret redirect_uri consumer_id)
  end

  describe '::ATTRIBUTE_NAMES' do
    it 'contains valid names' do
      expect(subject.class::ATTRIBUTE_NAMES).to eq(valid_attribute_names)
    end
  end

  describe '::API_END_POINT' do
    it 'contains valid end point' do
      expect(subject.class::API_END_POINT).to eq('/oauth2/')
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
kong-client-0.4.0 spec/kong/oauth_app_spec.rb
kong-0.3.4 spec/kong/oauth_app_spec.rb
kong-0.3.3 spec/kong/oauth_app_spec.rb
kong-0.3.2 spec/kong/oauth_app_spec.rb
kong-0.3.1 spec/kong/oauth_app_spec.rb
kong-0.3.0 spec/kong/oauth_app_spec.rb
kong-0.2.0 spec/kong/oauth_app_spec.rb
kong-0.1.2 spec/kong/oauth_app_spec.rb
kong-0.1.1 spec/kong/oauth_app_spec.rb
kong-0.1.0 spec/kong/oauth_app_spec.rb