Skip to content

Commit

Permalink
Fix Heroku API v3 specs
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed May 24, 2017
1 parent a48c7e0 commit 7127840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/provider/heroku_api_spec.rb
Expand Up @@ -8,7 +8,7 @@
end

let(:expected_headers) do
{ "User-Agent" => "dpl/#{DPL::VERSION} heroku-rb/#{Heroku::API::VERSION}" }
{ "User-Agent" => "dpl/#{DPL::VERSION} heroku-rb/#{Heroku::API::VERSION}", "Accept" => "application/vnd.heroku+json; version=3" }
end

describe "#ssh" do
Expand Down
2 changes: 1 addition & 1 deletion spec/provider/heroku_git_spec.rb
Expand Up @@ -8,7 +8,7 @@
end

let(:expected_headers) do
{ "User-Agent" => "dpl/#{DPL::VERSION} heroku-rb/#{Heroku::API::VERSION}" }
{ "User-Agent" => "dpl/#{DPL::VERSION} heroku-rb/#{Heroku::API::VERSION}", "Accept" => "application/vnd.heroku+json; version=3" }
end

describe "#api" do
Expand Down

0 comments on commit 7127840

Please sign in to comment.