spec/spec_helper.rb in rack-amf-0.0.2 vs spec/spec_helper.rb in rack-amf-0.0.3
- old
+ new
@@ -19,6 +19,15 @@
end
def create_rack_request(binary_path)
env = {'rack.input' => StringIO.new(request_fixture(binary_path))}
Rack::AMF::Request.new(env)
+end
+
+# Add reset support to ClassMapping
+module AMF
+ class ClassMapping
+ def reset
+ @mappings = nil
+ end
+ end
end
\ No newline at end of file