Sha256: ca83953458e95952d469912a3194ce87b80875a96643e2c7db04e526700757dd

Contents?: true

Size: 667 Bytes

Versions: 25

Compression:

Stored size: 667 Bytes

Contents

require 'core/spec_helper'

describe ZendeskAPI::PushNotificationDevice do
  describe ".destroy_many" do
    describe "Existing push notification devices" do
      it "destroys the given push notification devices" do
        VCR.use_cassette("push_notification_devices_destroy_many") do
          ZendeskAPI::PushNotificationDevice.destroy_many(client, ["foo", "bar"])
        end
      end
    end

    describe "Non-existing devices" do
      it "silently ignores the devices" do
        VCR.use_cassette("push_notification_devices_destroy_many") do
          ZendeskAPI::PushNotificationDevice.destroy_many(client, ["baz"])
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
zendesk_api-1.13.1 spec/live/push_notification_device_spec.rb
zendesk_api-1.12.1 spec/live/push_notification_device_spec.rb
zendesk_api-1.12.0 spec/live/push_notification_device_spec.rb
zendesk_api-1.11.7 spec/live/push_notification_device_spec.rb
zendesk_api-1.11.6 spec/live/push_notification_device_spec.rb
zendesk_api-1.11.5 spec/live/push_notification_device_spec.rb
zendesk_api-1.11.4 spec/live/push_notification_device_spec.rb
zendesk_api-1.11.3 spec/live/push_notification_device_spec.rb
zendesk_api-1.11.2 spec/live/push_notification_device_spec.rb
zendesk_api-1.11.1 spec/live/push_notification_device_spec.rb
zendesk_api-1.11.0 spec/live/push_notification_device_spec.rb
zendesk_api-1.10.0 spec/live/push_notification_device_spec.rb
zendesk_api-1.9.6 spec/live/push_notification_device_spec.rb
zendesk_api-1.9.5 spec/live/push_notification_device_spec.rb
zendesk_api-1.9.4 spec/live/push_notification_device_spec.rb
zendesk_api-1.9.3 spec/live/push_notification_device_spec.rb
zendesk_api-1.9.2 spec/live/push_notification_device_spec.rb
zendesk_api-1.9.1 spec/live/push_notification_device_spec.rb
zendesk_api-1.9.0 spec/live/push_notification_device_spec.rb
zendesk_api-1.8.0 spec/live/push_notification_device_spec.rb