Fix typos in assertion messages.
This commit is contained in:
parent
a0899d1b0b
commit
5422c56301
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue