Skip to content

Commit

Permalink
Merge pull request #309 from alphagov/bugfix-organisations_list-helper
Browse files Browse the repository at this point in the history
Fix a bug in the organisations_list test helper
  • Loading branch information
issyl0 committed May 22, 2015
2 parents 2c39bad + beaea3a commit d9bd078
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 18.9.1

* Fix a bug in the SupportApi test helper for organisations_list

# 18.9.0

* Support API: add adapters for `/anonymous-feedback/organisations` list, and
Expand Down
2 changes: 1 addition & 1 deletion lib/gds_api/test_helpers/support_api.rb
Expand Up @@ -59,7 +59,7 @@ def stub_anonymous_feedback_organisations_list(response_body = nil)
}]

stub_http_request(:get, "#{SUPPORT_API_ENDPOINT}/anonymous-feedback/organisations").
to_return(status: 200, body: response_body)
to_return(status: 200, body: response_body.to_json)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/gds_api/version.rb
@@ -1,3 +1,3 @@
module GdsApi
VERSION = '18.9.0'
VERSION = '18.9.1'
end

0 comments on commit d9bd078

Please sign in to comment.