test/tc_service_point.rb in needle-0.6.0 vs test/tc_service_point.rb in needle-0.9.0

- old
+ new

@@ -89,9 +89,18 @@ Needle::ServicePoint.new( @container, "test", :pipeline => [] ) { Hash.new } end end + def test_instance_with_explicit_pipeline_class + point = + Needle::ServicePoint.new( @container, "test", :pipeline => [ Model ] ) { + Hash.new } + + inst = point.instance + assert_instance_of Hash, inst + end + def test_instance point = Needle::ServicePoint.new( @container, "test", :model => :mock ) { Hash.new }