test/test_posting.rb in toadhopper-1.3 vs test/test_posting.rb in toadhopper-2.0
- old
+ new
@@ -5,12 +5,12 @@
response = Toadhopper('bogus key').post!(error)
assert_equal 422, response.status
assert_equal ['No project exists with the given API key.'], response.errors
end
- if ENV['HOPTOAD_API_KEY']
+ if ENV['AIRBRAKE_API_KEY']
def test_posting_integration
- toadhopper.filters = "HOPTOAD_API_KEY", "ROOT_PASSWORD"
+ toadhopper.filters = "AIRBRAKE_API_KEY", "ROOT_PASSWORD"
response = toadhopper.post!(error)
assert_equal 200, response.status
assert_equal [], response.errors
end
end