]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/changeset_controller_test.rb
Cleanup trailing whitespace
[rails.git] / test / controllers / changeset_controller_test.rb
index 9a3626d3479c159b33685649480c4f03f7c3987d..b3d6d7eb2e482f7a6e8ac857e2f35ce03d429fbc 100644 (file)
@@ -427,7 +427,7 @@ EOF
     # check the returned payload
     assert_select "diffResult[version='#{API_VERSION}'][generator='OpenStreetMap server']", 1
     assert_select "diffResult>node", 1
     # check the returned payload
     assert_select "diffResult[version='#{API_VERSION}'][generator='OpenStreetMap server']", 1
     assert_select "diffResult>node", 1
-    assert_select "diffresult>way", 1
+    assert_select "diffResult>way", 1
     assert_select "diffResult>relation", 1
 
     # inspect the response to find out what the new element IDs are
     assert_select "diffResult>relation", 1
 
     # inspect the response to find out what the new element IDs are
@@ -633,7 +633,7 @@ EOF
     # check the returned payload
     assert_select "diffResult[version='#{API_VERSION}'][generator='OpenStreetMap server']", 1
     assert_select "diffResult>node", 1
     # check the returned payload
     assert_select "diffResult[version='#{API_VERSION}'][generator='OpenStreetMap server']", 1
     assert_select "diffResult>node", 1
-    assert_select "diffresult>way", 1
+    assert_select "diffResult>way", 1
     assert_select "diffResult>relation", 1
 
     # parse the response
     assert_select "diffResult>relation", 1
 
     # parse the response
@@ -1922,7 +1922,7 @@ EOF
     assert_no_difference('ChangesetComment.count') do
       post :comment, { :id => changesets(:normal_user_closed_change).id, :text => '' }
     end
     assert_no_difference('ChangesetComment.count') do
       post :comment, { :id => changesets(:normal_user_closed_change).id, :text => '' }
     end
-    assert_response :bad_request    
+    assert_response :bad_request
   end
 
   ##
   end
 
   ##
@@ -2062,7 +2062,7 @@ EOF
       post :unhide_comment, { :id => comment.id }
       assert_response :unauthorized
     end
       post :unhide_comment, { :id => comment.id }
       assert_response :unauthorized
     end
-    
+
     basic_authorization(users(:public_user).email, 'test')
 
     # not a moderator
     basic_authorization(users(:public_user).email, 'test')
 
     # not a moderator