]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/old_way_controller_test.rb
some useful notes in code for ideas that require implementing.
[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