From fc0aee74af892154525ed0183d95eacda0bd16ad Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Fri, 25 Jun 2021 00:22:07 -0400 Subject: [PATCH] spelling: success Signed-off-by: Josh Soref --- test/controllers/api/changesets_controller_test.rb | 2 +- test/controllers/api/map_controller_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/controllers/api/changesets_controller_test.rb b/test/controllers/api/changesets_controller_test.rb index 1c5529b50..8e8f4c185 100644 --- a/test/controllers/api/changesets_controller_test.rb +++ b/test/controllers/api/changesets_controller_test.rb @@ -63,7 +63,7 @@ module Api "" put changeset_create_path, :params => xml, :headers => auth_header - assert_response :success, "Creation of changeset did not return sucess status" + assert_response :success, "Creation of changeset did not return success status" newid = @response.body.to_i # check end time, should be an hour ahead of creation time diff --git a/test/controllers/api/map_controller_test.rb b/test/controllers/api/map_controller_test.rb index 433e7a2af..1e96e353c 100644 --- a/test/controllers/api/map_controller_test.rb +++ b/test/controllers/api/map_controller_test.rb @@ -129,7 +129,7 @@ module Api print @request.to_yaml print @response.body end - assert_response :success, "Expected scucess with the map call" + assert_response :success, "Expected success with the map call" assert_select "osm[version='#{Settings.api_version}'][generator='#{Settings.generator}']", :count => 1 do assert_select "bounds[minlon='#{format('%.7f', :lon => minlon)}']" \ "[minlat='#{format('%.7f', :lat => minlat)}']" \ -- 2.43.2