spec/lib/auth0/api/v1/clients_spec.rb in auth0-3.2.0 vs spec/lib/auth0/api/v1/clients_spec.rb in auth0-3.3.0
- old
+ new
@@ -42,10 +42,10 @@
expect(@instance).to receive(:put).with("/api/clients/client_id",{name: client_name, callbacks: callbacks})
expect{@instance.update_client(client_name, callbacks, "client_id")}.not_to raise_error
end
it "is expected to make warn on deprecated endpoint" do
- expect(@instance).to receive(:warn).with("This endpoint has been deprecated in favor of PUT.")
+ expect(@instance).to receive(:warn).with("This endpoint has been deprecated in favor of PATCH.")
@instance.update_client("test")
end
end
context ".patch_client" do