Sha256: 0f41a42e1982850dd0b74d477dd1783d5f59f19aa7a6a22fb2dc6d2b423757e7

Contents?: true

Size: 487 Bytes

Versions: 6

Compression:

Stored size: 487 Bytes

Contents

require 'spec_helper'

module Punchblock
  module Command
    describe Unjoin do

      it 'registers itself' do
        RayoNode.class_from_registration(:unjoin, 'urn:xmpp:rayo:1').should == Unjoin
      end

      describe "when setting options in initializer" do
        subject { Unjoin.new :other_call_id => 'abc123', :mixer_id => 'blah' }

        its(:other_call_id) { should == 'abc123' }
        its(:mixer_id)      { should == 'blah' }
      end
    end
  end
end # Punchblock

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
punchblock-0.5.1 spec/punchblock/command/unjoin_spec.rb
punchblock-0.5.0 spec/punchblock/command/unjoin_spec.rb
punchblock-0.4.3 spec/punchblock/command/unjoin_spec.rb
punchblock-0.4.2 spec/punchblock/command/unjoin_spec.rb
punchblock-0.4.1 spec/punchblock/command/unjoin_spec.rb
punchblock-0.4.0 spec/punchblock/command/unjoin_spec.rb