test/test_processes.rb in heroku-api-0.1.0 vs test/test_processes.rb in heroku-api-0.1.1
- old
+ new
@@ -125,11 +125,11 @@
with_app('stack' => 'cedar') do |app_data|
heroku.post_ps_scale(app_data['name'], 'web', 2)
response = heroku.post_ps_scale(app_data['name'], 'web', 1)
assert_equal(200, response.status)
- assert_equal(1, response.body)
+ assert_equal("1", response.body)
end
end
def test_post_ps_scale_type_not_found
assert_raises(Heroku::API::Errors::Error) do
@@ -142,10 +142,10 @@
def test_post_ps_scale_up
with_app('stack' => 'cedar') do |app_data|
response = heroku.post_ps_scale(app_data['name'], 'web', 2)
assert_equal(200, response.status)
- assert_equal(2, response.body)
+ assert_equal("2", response.body)
end
end
def test_post_ps_scale_without_cedar
assert_raises(Heroku::API::Errors::Error) do