lib/rspec/request_describer.rb in rspec-request_describer-0.0.7 vs lib/rspec/request_describer.rb in rspec-request_describer-0.0.8

- old
+ new

@@ -58,10 +58,10 @@ let(:method) do endpoint_segments[1].downcase end let(:path) do - endpoint_segments[2].gsub(/:([^\s\/]+)/) { send($1) } + endpoint_segments[2].gsub(/:(\w+[!?=]?)/) { send($1) } end end end end end