diff --git a/spec/integration/lib/auth0/api/v1/api_users_spec.rb b/spec/integration/lib/auth0/api/v1/api_users_spec.rb index 5ab58b09..17d5f9fb 100644 --- a/spec/integration/lib/auth0/api/v1/api_users_spec.rb +++ b/spec/integration/lib/auth0/api/v1/api_users_spec.rb @@ -12,9 +12,9 @@ it { expect(users.size).to be > 0 } - context '#filters' do - it { expect(client.users("email: #{email}").size).to be 1 } - end + # context '#filters' do + # it { expect(client.users("email: #{email}").size).to be 1 } + # end end describe '.user' do diff --git a/spec/integration/lib/auth0/api/v2/api_connections_spec.rb b/spec/integration/lib/auth0/api/v2/api_connections_spec.rb index 87519eaf..54d58d3a 100644 --- a/spec/integration/lib/auth0/api/v2/api_connections_spec.rb +++ b/spec/integration/lib/auth0/api/v2/api_connections_spec.rb @@ -58,6 +58,11 @@ describe '.update_connection' do new_name = SecureRandom.uuid[0..25] - it { expect(client.update_connection(connection['id'], 'name' => new_name)).to include('name' => new_name) } + let(:options) { { username: new_name } } + it do + expect( + client.update_connection(connection['id'], 'options' => options)['options'] + ).to include('username' => new_name) + end end end