From: Josh Soref Date: Fri, 25 Jun 2021 04:22:07 +0000 (-0400) Subject: spelling: success X-Git-Tag: live~1476^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/fc0aee74af892154525ed0183d95eacda0bd16ad spelling: success Signed-off-by: Josh Soref --- 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)}']" \