3 sequence(:name) { |n| "Trace #{n}.gpx" }
4 sequence(:description) { |n| "This is trace #{n}" }
20 after(:create) do |trace, evaluator|
22 File.symlink(Rails.root.join("test", "gpx", "fixtures", "#{evaluator.fixture}.gpx"),
23 File.join(Settings.gpx_trace_dir, "#{trace.id}.gpx"))
24 File.symlink(Rails.root.join("test", "gpx", "fixtures", "#{evaluator.fixture}.gif"),
25 File.join(Settings.gpx_image_dir, "#{trace.id}.gif"))
26 File.symlink(Rails.root.join("test", "gpx", "fixtures", "#{evaluator.fixture}_icon.gif"),
27 File.join(Settings.gpx_image_dir, "#{trace.id}_icon.gif"))