Skip to content

Commit 4555b4b

Browse files
committed
return a payload and not just a status code in the acceptance test suite
1 parent b09ebc1 commit 4555b4b

File tree

1 file changed

+2
-1
lines changed
  • spec/acceptance/github-server

1 file changed

+2
-1
lines changed

spec/acceptance/github-server/web.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ def graphql_pending_query(query)
377377
File.open(TEAM_MAP_FILE, "w") do |f|
378378
f.write(JSON.pretty_generate(tmp_map))
379379
end
380-
halt 201
380+
381+
[201, { "Content-Type" => "application/json" }, [JSON.generate(teamdata)]]
381382
end
382383

383384
send :get, "/orgs/:org_name/teams/:team_name" do

0 commit comments

Comments
 (0)