Now just got one test to sort on the functional tests. All other tests are working...
[rails.git] / test / functional / old_way_controller_test.rb
index 374ea7dc2de42bbba429d9c2946d24b0d601ccf5..b4e3c5127721210ac025f856f2a28bd8c196f057 100644 (file)
@@ -17,11 +17,13 @@ class OldWayControllerTest < Test::Unit::TestCase
   # Test reading old ways.
   # -------------------------------------
 
-  def test_history
+  def test_history_visible
     # check that a visible way is returned properly
     get :history, :id => ways(:visible_way).id
     assert_response :success
-
+  end
+  
+  def test_history_invisible
     # check chat a non-existent way is not returned
     get :history, :id => 0
     assert_response :not_found