]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/node_controller_test.rb
some useful notes in code for ideas that require implementing.
[rails.git] / test / functional / node_controller_test.rb
index 3f316d01224e9d63aae5a3823f89b9f58ff078f0..59b28e114100f17002fcf543253d41553599d5e1 100644 (file)
@@ -15,7 +15,9 @@ class NodeControllerTest < Test::Unit::TestCase
 
   def test_create
     # cannot read password from fixture as it is stored as MD5 digest
-    basic_authorization("test@openstreetmap.org", "test");  
+    basic_authorization(users(:normal_user).email, "test");
+    # FIXME we need to create a changeset first argh
+    
     # create a node with random lat/lon
     lat = rand(100)-50 + rand
     lon = rand(100)-50 + rand