Skip to content

Commit

Permalink
Update error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jm-mailosaur committed Jun 27, 2022
1 parent 2e01c8f commit d7d1512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/errors_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ErrorsTest < Test::Unit::TestCase
client.servers.create(create_options)
pass
end
assert_equal('(name) Please provide a name for your server\r\n', ex.message)
assert_equal('(name) Servers need a name\r\n', ex.message)
end
end
end
2 changes: 1 addition & 1 deletion test/servers_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ServersTest < Test::Unit::TestCase
pass
end

assert_equal('(name) Please provide a name for your server\r\n', ex.message)
assert_equal('(name) Servers need a name\r\n', ex.message)
assert_equal('invalid_request', ex.error_type)
assert_equal(400, ex.http_status_code)
assert_true(ex.http_response_body.include?('{"type":'))
Expand Down

0 comments on commit d7d1512

Please sign in to comment.