Sha256: c06ce950b480667450b91a80cb28f0b02215726fe9f21d3729b5128762fb0724

Contents?: true

Size: 485 Bytes

Versions: 14

Compression:

Stored size: 485 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'
require File.dirname(__FILE__) + '/iq_query_stanza_spec'
describe SubscriptionsQueryStanza do
  
  it_should_behave_like "Iq Query Stanzas"
  
  before(:each) do
    @params = { :type => "set", :from => "me@server.com/resource", :page => 3, :type => "set", :from => "me@server.com/resource"}
  end
  
  it "should have the right page value" do
    SubscriptionsQueryStanza.new(@params).page.should == @params[:page].to_s
  end
  
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
superfeedr-superfeedr-ruby-0.2.1 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-superfeedr-ruby-0.3.0 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-superfeedr-ruby-0.3.1 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-superfeedr-ruby-0.3.2 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-superfeedr-ruby-0.3.3 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-superfeedr-ruby-0.3.4 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-superfeedr-ruby-0.3.5 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-ruby-0.5.0 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-ruby-0.4.4 spec/stanzas/subscriptions_stanza_spec.rb
radamanthus-superfeedr-ruby-0.4.3 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-ruby-0.4.3 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-ruby-0.4.2 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-ruby-0.4.1 spec/stanzas/subscriptions_stanza_spec.rb
superfeedr-ruby-0.4.0 spec/stanzas/subscriptions_stanza_spec.rb