Fix some tests
[rails.git] / test / fixtures / gpx_files.yml
index 08616bd99f9c496ea1957eda733f9c494ade6b9e..4f4a82d98be8be0eed0850f6a63760a3be7f051d 100644 (file)
@@ -10,11 +10,11 @@ public_trace_file:
   visibility: "public"
   description: This is a trace
   inserted: true
-  
+
 anon_trace_file:
   id: 2
   user_id: 2
-  visible: false
+  visible: true
   name: Private Trace.gpx
   size: 123
   latitude: 51.3
@@ -27,7 +27,7 @@ anon_trace_file:
 trackable_trace_file:
   id: 3
   user_id: 2
-  visible: false
+  visible: true
   name: Trackable Trace.gpx
   size: 123
   latitude: 51.51
@@ -39,8 +39,8 @@ trackable_trace_file:
 
 identifiable_trace_file:
   id: 4
-  user_id: 2
-  visible: false
+  user_id: 1
+  visible: true
   name: Identifiable Trace.gpx
   size: 123
   latitude: 51.512
@@ -49,3 +49,68 @@ identifiable_trace_file:
   visibility: "identifiable"
   description: This trace shows trksegs, timestamps and user details.
   inserted: true
+
+deleted_trace_file:
+  id: 5
+  user_id: 2
+  visible: false
+  name: Deleted Trace.gpx
+  size: 123
+  latitude: 51.512
+  longitude: 0.142
+  timestamp: "2009-07-30 17:48:34"
+  visibility: "public"
+  description: This is a trace that has been deleted.
+  inserted: true
+
+zipped_trace_file:
+  id: 6
+  user_id: 4
+  visible: true
+  name: Zipped Trace.gpx
+  size:
+  latitude: 1
+  longitude: 1
+  timestamp: "2008-10-29 10:10:10"
+  visibility: "private"
+  description: This is a zipped trace
+  inserted: true
+
+tar_trace_file:
+  id: 7
+  user_id: 4
+  visible: true
+  name: Tarred Trace.gpx
+  size:
+  latitude: 1
+  longitude: 1
+  timestamp: "2008-10-29 10:10:10"
+  visibility: "private"
+  description: This is a tarred trace
+  inserted: true
+
+tar_gzip_trace_file:
+  id: 8
+  user_id: 4
+  visible: true
+  name: Gzipped Tarred Trace.gpx
+  size:
+  latitude: 1
+  longitude: 1
+  timestamp: "2008-10-29 10:10:10"
+  visibility: "private"
+  description: This is a gzipped tarred trace
+  inserted: true
+
+tar_bzip_trace_file:
+  id: 9
+  user_id: 4
+  visible: true
+  name: Bzipped Tarred Trace.gpx
+  size:
+  latitude: 1
+  longitude: 1
+  timestamp: "2008-10-29 10:10:10"
+  visibility: "private"
+  description: This is a bzipped tarred trace
+  inserted: true