- FakeFS do
- FakeFS::FileSystem.clone(Rails.root.join("test", "gpx"))
- trace = create(:trace, :fixture => "a")
- # Tracepoints don't have a primary key, so we use a specific latitude to
- # check for successful deletion
- create(:tracepoint, :latitude => 54321, :trace => trace)
- assert_equal 1, Tracepoint.where(:latitude => 54321).count
+ trace = create(:trace, :fixture => "a")
+ # Tracepoints don't have a primary key, so we use a specific latitude to
+ # check for successful deletion
+ create(:tracepoint, :latitude => 54321, :trace => trace)
+ assert_equal 1, Tracepoint.where(:latitude => 54321).count