spec/punchblock/event/complete_spec.rb in punchblock-0.7.2 vs spec/punchblock/event/complete_spec.rb in punchblock-0.8.0
- old
+ new
@@ -9,21 +9,21 @@
describe "from a stanza" do
let :stanza do
<<-MESSAGE
<complete xmlns='urn:xmpp:rayo:ext:1'>
- <success xmlns='urn:xmpp:tropo:say:complete:1' />
+ <success xmlns='urn:xmpp:rayo:output:complete:1' />
</complete>
MESSAGE
end
subject { RayoNode.import parse_stanza(stanza).root, '9f00061', '1' }
it { should be_instance_of Complete }
it_should_behave_like 'event'
- its(:reason) { should be_instance_of Component::Tropo::Say::Complete::Success }
+ its(:reason) { should be_instance_of Component::Output::Complete::Success }
end
end
describe Complete::Stop do
let :stanza do