Sha256: c038808711d52d10938666fbcce5d95d67cb269eea663bba3a734eeafa922568

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper])

describe 'Blather::Stanza::Iq' do
  it 'registers itself' do
    XMPPNode.class_from_registration(:iq, nil).must_equal Stanza::Iq
  end

  it 'creates a new Iq stanza defaulted as a get' do
    Stanza::Iq.new.type.must_equal :get
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blather-0.2.1 spec/blather/stanza/iq_spec.rb
blather-0.2 spec/blather/stanza/iq_spec.rb