square / fdoc

Documentation format and verification
Other
379 stars 59 forks source link

Error in path to endpoint #43

Closed shaileshgupta closed 11 years ago

shaileshgupta commented 11 years ago

In https://github.com/square/fdoc/blob/master/docs/scaffold.md

require 'fdoc/spec_watcher'

describe MembersController do include Fdoc::SpecWatcher

context "#list", :fdoc => 'members/filter' do get :list, { :limit => 10, :older_than => Time.gm(2012,"jun",21,10,40,00) } end end

:fdoc => 'members/filter' should be replaced by :fdoc => 'members/list' for correct end point as per the given example. Please suggest if I am correct or missed something obvious.

zachmargolis commented 11 years ago

That is correct! Thanks for pointing that out, I fixed this just now in fc1f55b