test/test_collaborators.rb in heroku-api-0.2.6 vs test/test_collaborators.rb in heroku-api-0.2.7
- old
+ new
@@ -52,10 +52,10 @@
def test_post_collaborator
with_app do |app_data|
email_address = 'wesley@heroku.com'
response = heroku.post_collaborator(app_data['name'], email_address)
- assert_equal(200, response.status)
+ assert_equal(201, response.status)
assert_equal(
"#{email_address} added as a collaborator on #{app_data['name']}.",
response.body
)