spec/integration/lib/auth0/api/v2/api_jobs_spec.rb in auth0-5.0.0 vs spec/integration/lib/auth0/api/v2/api_jobs_spec.rb in auth0-5.0.1
- old
+ new
@@ -2,10 +2,10 @@
describe Auth0::Api::V2::Jobs do
UP_AUTH = Auth0::Api::AuthenticationEndpoints::UP_AUTH
let(:client) { Auth0Client.new(v2_creds) }
let(:username) { Faker::Internet.user_name }
- let(:email) { "#{entity_suffix}#{Faker::Internet.safe_email(username)}" }
+ let(:email) { "#{entity_suffix}#{Faker::Internet.safe_email(name: username)}" }
let(:connection_id) do
VCR.use_cassette('Auth0_Api_V2_Jobs/search_for_connection_id') do
client.connections.find do |connection|
connection['name'].include?(UP_AUTH)
end['id']