Sha256: a3c120ecef61101b23a0d99e2dc3c0dda5784f16f7670fc3453c714029131604
Contents?: true
Size: 516 Bytes
Versions: 14
Compression:
Stored size: 516 Bytes
Contents
require 'spec_helper' module Punchblock module Command describe Accept do it 'registers itself' do RayoNode.class_from_registration(:accept, 'urn:xmpp:rayo:1').should == Accept end it_should_behave_like 'command_headers' describe "from a stanza" do let(:stanza) { '<accept xmlns="urn:xmpp:rayo:1"/>' } subject { RayoNode.import parse_stanza(stanza).root, '9f00061', '1' } it { should be_instance_of Accept } end end end end # Punchblock
Version data entries
14 entries across 14 versions & 1 rubygems