Fix typos in assertion messages.

This commit is contained in:
Andy Allan 2017-03-15 17:06:29 +00:00
parent a0899d1b0b
commit 5422c56301
2 changed files with 2 additions and 2 deletions

View file

@ -245,7 +245,7 @@ class OldRelationControllerTest < ActionController::TestCase
def do_redact_relation(relation, redaction) def do_redact_relation(relation, redaction)
get :version, :id => relation.relation_id, :version => relation.version 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 # now redact it
post :redact, :id => relation.relation_id, :version => relation.version, :redaction => redaction.id post :redact, :id => relation.relation_id, :version => relation.version, :redaction => redaction.id

View file

@ -278,7 +278,7 @@ class OldWayControllerTest < ActionController::TestCase
def do_redact_way(way, redaction) def do_redact_way(way, redaction)
get :version, :id => way.way_id, :version => way.version 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 # now redact it
post :redact, :id => way.way_id, :version => way.version, :redaction => redaction.id post :redact, :id => way.way_id, :version => way.version, :redaction => redaction.id