test/simple_test.rb in rufus-verbs-0.1 vs test/simple_test.rb in rufus-verbs-0.2
- old
+ new
@@ -69,6 +69,15 @@
def test_2
s = get(:uri => "http://localhost:7777/items", :body => true)
assert_equal "{}", s.strip
end
+
+ #
+ # The "no-path" test
+ #
+ def test_3
+
+ r = get "http://rufus.rubyforge.org"
+ assert_kind_of Net::HTTPOK, r
+ end
end