]> git.openstreetmap.org Git - rails.git/commitdiff
spelling: success
authorJosh Soref <jsoref@users.noreply.github.com>
Fri, 25 Jun 2021 04:22:07 +0000 (00:22 -0400)
committerJosh Soref <jsoref@users.noreply.github.com>
Wed, 21 Jul 2021 14:45:38 +0000 (10:45 -0400)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
test/controllers/api/changesets_controller_test.rb
test/controllers/api/map_controller_test.rb

index 1c5529b502a990ffb2de0c0c228dd052d3b14369..8e8f4c1850523aa23ab5f3f9d3490879f0b51bf3 100644 (file)
@@ -63,7 +63,7 @@ module Api
             "</changeset></osm>"
       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
index 433e7a2afd6d0a386b83ef6421b8282edc700cd5..1e96e353ce7ea7a423eca52e0f0c3af4d10f4cbd 100644 (file)
@@ -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('%<lon>.7f', :lon => minlon)}']" \
                       "[minlat='#{format('%<lat>.7f', :lat => minlat)}']" \