Sha256: fb89765b611151f06521342de72fb958e8ddfd702f5a9e1f0389a7837abf883c
Contents?: true
Size: 814 Bytes
Versions: 2
Compression:
Stored size: 814 Bytes
Contents
require "spec_helper" describe Auth0::Api::V2::Clients do let(:client) { Auth0Client.new(v2_creds) } let(:existing_client) { client.create_client("existing#{entity_suffix}") } let(:client_name) { "ClientV2#{entity_suffix}" } it { expect(client.clients).to_not be_empty } it { expect(client.create_client(client_name, {custom_login_page_on: false})).to include("name" => client_name, "custom_login_page_on" => false) } it { expect(client.patch_client(existing_client["client_id"], {custom_login_page_on: false, sso: true})).to include("custom_login_page_on" => false, "sso" => true) } it { expect { client.delete_client(existing_client["client_id"]) }.to_not raise_error } it { expect(client.client(existing_client["client_id"])).to include("client_id" => existing_client["client_id"]) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auth0-3.6.1 | spec/integration/lib/auth0/api/v2/api_clients_spec.rb |
auth0-3.6.0 | spec/integration/lib/auth0/api/v2/api_clients_spec.rb |