]> git.openstreetmap.org Git - rails.git/commitdiff
Fix typos in assertion messages.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 15 Mar 2017 17:06:29 +0000 (17:06 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 15 Mar 2017 17:06:29 +0000 (17:06 +0000)
test/controllers/old_relation_controller_test.rb
test/controllers/old_way_controller_test.rb

index 6222296610c4a83d5e11b0a6fda439a507ae78af..5b531a1af38f4c602f61ef48eb832e64e4a60505 100644 (file)
@@ -245,7 +245,7 @@ class OldRelationControllerTest < ActionController::TestCase
 
   def do_redact_relation(relation, redaction)
     get :version, :id => relation.relation_id, :version => relation.version
-    assert_response :success, "should be able to get version #{relation.version} of node #{relation.relation_id}."
+    assert_response :success, "should be able to get version #{relation.version} of relation #{relation.relation_id}."
 
     # now redact it
     post :redact, :id => relation.relation_id, :version => relation.version, :redaction => redaction.id
index 8d3bc6955a80f5873cc4082dd7d0cfdc9279a72d..97cf4c71d02123ce650ec9c143097306771b02fe 100644 (file)
@@ -278,7 +278,7 @@ class OldWayControllerTest < ActionController::TestCase
 
   def do_redact_way(way, redaction)
     get :version, :id => way.way_id, :version => way.version
-    assert_response :success, "should be able to get version #{way.version} of node #{way.way_id}."
+    assert_response :success, "should be able to get version #{way.version} of way #{way.way_id}."
 
     # now redact it
     post :redact, :id => way.way_id, :version => way.version, :redaction => redaction.id