Sha256: 4740be4efda67fb0db8c6fe0e66b3b4d991eed07b72204a880a40be20116fccd

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
superfeedr-superfeedr-ruby-0.2.1 spec/stanzas/subscribe_stanza_spec.rb
superfeedr-superfeedr-ruby-0.3.0 spec/stanzas/subscribe_stanza_spec.rb
superfeedr-superfeedr-ruby-0.3.1 spec/stanzas/subscribe_stanza_spec.rb