spec/rack/response_spec.rb in rack-amf-0.0.3 vs spec/rack/response_spec.rb in rack-amf-0.0.4
- old
+ new
@@ -1,6 +1,7 @@
require File.dirname(__FILE__) + '/../spec_helper.rb'
require 'rack/amf'
+require 'rack/amf/response'
describe Rack::AMF::Response do
it "should serialize response when converted to string" do
response = Rack::AMF::Response.new(create_rack_request('commandMessage.bin'))
response.raw_response.should_receive(:serialize).and_return('serialized')
\ No newline at end of file