test/test_posting.rb in toadhopper-1.0.2 vs test/test_posting.rb in toadhopper-1.0.3
- old
+ new
@@ -1,5 +1,5 @@
-require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
+require 'helper'
class Toadhopper::TestPosting < Test::Unit::TestCase
def test_posting
response = Toadhopper('bogus key').post!(error)
assert_equal 422, response.status