lib/pact/reification.rb in pact-1.1.0.rc3 vs lib/pact/reification.rb in pact-1.1.0.rc4
- old
+ new
@@ -15,9 +15,11 @@
when term.is_a?(Array)
term.inject([]) do |mem, term|
mem << from_term(term)
mem
end
+ when term.is_a?(Pact::Request::Base)
+ from_term(term.to_hash)
else
term
end
end