spec/punchblock/component/input_spec.rb in punchblock-2.2.0 vs spec/punchblock/component/input_spec.rb in punchblock-2.2.1
- old
+ new
@@ -399,9 +399,10 @@
end
subject { RayoNode.from_xml(parse_stanza(stanza).root) }
it { should be_instance_of Input::Signal }
+ it { should be_a Punchblock::Event }
its(:name) { should be == :signal }
its(:type) { should be == 'urn:xmpp:rayo:cpa:beep:1' }
its(:duration) { should be == 1000 }
its(:value) { should be == '8000' }