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