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