Sha256: 2c57136a50760a128fd94471c2137fe47099eeac9233b56d87016be2ff4f83cf

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

require 'spec_helper'

describe Collecta::Subscribe do
  it 'can be created with an apikey, a search term and a notify term' do
    subscription = Collecta::Subscribe.new 'apikey-value', 'search-term', 'notify-term'
    subscription.must_be_kind_of Blather::Stanza::PubSub::Subscribe
    subscription.must_have_apikey 'apikey-value'
    subscription.must_have_query 'search-term'
    subscription.must_have_notify 'notify-term'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
collecta-rb-0.1.0 spec/collecta/subscribe_spec.rb