Sha256: 6211d34faded84632bdf66cea7d127520f7fad8fb28c6d0e37f56139a8e007f6
Contents?: true
Size: 538 Bytes
Versions: 25
Compression:
Stored size: 538 Bytes
Contents
# encoding: utf-8 require 'spec_helper' module Punchblock module Command describe Hangup do it 'registers itself' do RayoNode.class_from_registration(:hangup, 'urn:xmpp:rayo:1').should be == Hangup end it_should_behave_like 'command_headers' describe "from a stanza" do let(:stanza) { '<hangup xmlns="urn:xmpp:rayo:1"/>' } subject { RayoNode.import parse_stanza(stanza).root, '9f00061', '1' } it { should be_instance_of Hangup } end end end end # Punchblock
Version data entries
25 entries across 25 versions & 1 rubygems