]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/node_controller_test.rb
Rationalise API error classes by getting of the render_opts method which
[rails.git] / test / functional / node_controller_test.rb
index 266682fd058f607fd193f1aa69a0174bc6524776..42311c38fdbbd4a3fea8a10d62f943189812b8ca 100644 (file)
@@ -370,7 +370,7 @@ class NodeControllerTest < ActionController::TestCase
     put :update, :id => current_nodes(:public_visible_node).id
     assert_response :bad_request, 
       "adding duplicate tags to a node should fail with 'bad request'"
-    assert_equal "Element node/#{current_nodes(:public_visible_node).id} has duplicate tags with key #{current_node_tags(:t1).k}.", @response.body
+    assert_equal "Element node/#{current_nodes(:public_visible_node).id} has duplicate tags with key #{current_node_tags(:t1).k}", @response.body
   end
 
   # test whether string injection is possible