Sha256: 03461578939432924f5ea5188d51d7c8728413dd92e8ae160e75d85109b25105

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

require 'helper'

class TestPushSubscription < Test::Unit::TestCase
	context "Given a new PushSubsription object" do
		setup do
			init()
			# Get a subscription from the API
			setResponseToASingleSubscription()
			@subscription = @user.getPushSubscription(@testdata['push_id'])
		end

		should "be of the right type" do
			assert_not_nil @subscription
			assert @subscription.kind_of?(DataSift::PushSubscription)
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datasift-2.0.2 test/test_pushsubscription.rb
datasift-2.0.1 test/test_pushsubscription.rb
datasift-2.0.0 test/test_pushsubscription.rb