]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/old_relation_controller_test.rb
Explicitly disable the layout for actions which don't want it
[rails.git] / test / functional / old_relation_controller_test.rb
index a52211e2e15485ee28c7acb1eacfacf538601c18..54e1cd037fad660bfc39ef2e4604b18db6550d20 100644 (file)
@@ -9,13 +9,11 @@ class OldRelationControllerTest < ActionController::TestCase
   # -------------------------------------
   def test_history
     # check that a visible relations is returned properly
-    get :history, :id => relations(:visible_relation).id
+    get :history, :id => relations(:visible_relation).relation_id
     assert_response :success
 
     # check chat a non-existent relations is not returned
     get :history, :id => 0
     assert_response :not_found
-
   end
-
 end