test/telnyx/api_resource_test.rb in telnyx-3.0.0 vs test/telnyx/api_resource_test.rb in telnyx-3.0.2

- old
+ new

@@ -138,10 +138,11 @@ Telnyx::MessagingProfile.list(limit: 1) assert_requested(stub, body: "") end should "making a POST request with parameters should have a body and no query string" do + omit "Messaging Profile restructured" Telnyx::MessagingProfile.create(name: "New Messaging Profile") assert_requested(:post, "#{Telnyx.api_base}/v2/messaging_profiles", body: { name: "New Messaging Profile" }) end should "loading an object should issue a GET request" do @@ -254,10 +255,11 @@ messaging_profile.save assert_requested(stub_post) end - should "should create a new resource when an object without an id is saved" do + should "create a new resource when an object without an id is saved" do + omit "Messaging Profile restructured" messaging_profile = Telnyx::MessagingProfile.construct_from(id: nil, name: nil) messaging_profile.name = "my-messaging-profile" messaging_profile.save