spec/amf/values/messages_spec.rb in RocketAMF-0.1.0 vs spec/amf/values/messages_spec.rb in RocketAMF-0.2.0
- old
+ new
@@ -16,10 +16,10 @@
@e.set_backtrace(['Backtrace 1', 'Backtrace 2'])
@message = RocketAMF::Values::ErrorMessage.new(nil, @e)
end
it "should serialize as a hash in AMF0" do
- response = RocketAMF::Response.new
+ response = RocketAMF::Envelope.new
response.messages << RocketAMF::Message.new('1/onStatus', '', @message)
response.serialize.should == request_fixture('amf0-error-response.bin')
end
it "should extract exception properties correctly" do
\ No newline at end of file