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 Rails.root.join("test", "gpx", "traces", "#{trace.id}.gpx"))
24 File.symlink(Rails.root.join("test", "gpx", "fixtures", "#{evaluator.fixture}.gif"),
25 Rails.root.join("test", "gpx", "images", "#{trace.id}.gif"))
26 File.symlink(Rails.root.join("test", "gpx", "fixtures", "#{evaluator.fixture}_icon.gif"),
27 Rails.root.join("test", "gpx", "images", "#{trace.id}_icon.gif"))