Sha256: 79b4a1a0580faecaae3eafc8f842146878e1b8a79a31ec15cafe7d2b28a28afd

Contents?: true

Size: 428 Bytes

Versions: 4

Compression:

Stored size: 428 Bytes

Contents

require "spec_helper"
describe Auth0::Api::V1::Clients do

  let(:client) { Auth0Client.new(v1_creds) }
  let(:global_client) { Auth0Client.new(v1_global_creds) }
  let(:client_name) { "client#{entity_suffix}" }

  it { expect(client.clients).to_not be_empty }

  it { expect {client.create_client(client_name)}.to raise_error(Auth0::Unauthorized) }

  it { expect(global_client.create_client(client_name)).to_not be_nil }

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
auth0-3.6.1 spec/integration/lib/auth0/api/v1/api_clients_spec.rb
auth0-3.6.0 spec/integration/lib/auth0/api/v1/api_clients_spec.rb
auth0-3.5.0 spec/integration/lib/auth0/api/v1/api_clients_spec.rb
auth0-3.4.0 spec/integration/lib/auth0/api/v1/api_clients_spec.rb