test/test_posting.rb in toadhopper-0.9.8 vs test/test_posting.rb in toadhopper-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
-class ToadHopper::TestPosting < Test::Unit::TestCase
+class Toadhopper::TestPosting < Test::Unit::TestCase
def test_posting
- response = ToadHopper('bogus key').post!(error)
+ 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']