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.
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.