describe "GET /agents.json" do it_behaves_like "API controller", :params => { ... }, :environment => { ... } end