Fixing some tests since git does not believe in empty directories.
parent
8c49d49e26
commit
0d35ac037a
|
@ -0,0 +1 @@
|
|||
tests/output/*
|
|
@ -21,7 +21,7 @@
|
|||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#++
|
||||
module GPX
|
||||
VERSION = "0.5"
|
||||
VERSION = "0.6"
|
||||
|
||||
# A common base class which provides a useful initializer method to many
|
||||
# class in the GPX library.
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
require 'test/unit'
|
||||
require 'fileutils'
|
||||
require File.dirname(__FILE__) + '/../lib/gpx'
|
||||
|
||||
class OutputTest < Test::Unit::TestCase
|
||||
|
||||
include GPX
|
||||
|
||||
def setup
|
||||
FileUtils.mkdir_p(File.join(File.dirname(__FILE__), "output"))
|
||||
end
|
||||
|
||||
def test_new_gpx_file_from_scratch
|
||||
gpx_file = GPXFile.new
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ class TrackFileTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_write
|
||||
@other_track_file.write("myoutput.gpx")
|
||||
@other_track_file.write("tests/output/myoutput.gpx")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue