+ def test_mime_type
+ assert_equal "application/gpx+xml", gpx_files(:public_trace_file).mime_type
+ assert_equal "application/gpx+xml", gpx_files(:anon_trace_file).mime_type
+ assert_equal "application/x-bzip2", gpx_files(:trackable_trace_file).mime_type
+ assert_equal "application/x-gzip", gpx_files(:identifiable_trace_file).mime_type
+ end
+
+ def test_extension_name
+ assert_equal ".gpx", gpx_files(:public_trace_file).extension_name
+ assert_equal ".gpx", gpx_files(:anon_trace_file).extension_name
+ assert_equal ".gpx.bz2", gpx_files(:trackable_trace_file).extension_name
+ assert_equal ".gpx.gz", gpx_files(:identifiable_trace_file).extension_name
+ end
+