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