test/test_test.rb in toolmantim-toadhopper-0.4 vs test/test_test.rb in toolmantim-toadhopper-0.5

- old
+ new

@@ -1,12 +1,12 @@ require File.dirname(__FILE__) + "/../lib/toadhopper/test" require 'test/unit' class Toadhopper::TestTest < Test::Unit::TestCase + include Toadhopper::Test::Methods def test_stub_toadhopper_post! - # TODO: - end - def test_last_toadhopper_post_params - # TODO: + stub_toadhopper_post! + Toadhopper.post!(:error, :options, :header_options) + assert_equal [:error, :options, :header_options], last_toadhopper_post_arguments end end