zipmark/rspec_api_documentation — Issue #18: Update path parameters from do_request
Author: oestrich
Created: 2012-02-02 02:48:55+00:00
State: open

Given the following

get "/orders/:id" do
let(:id) { 1 }

example "Another order" do
do_request(:id => 2)
end
end

The path is not updated to reflect the new id