Sha256: ea6cd3ab2516c315422f21b7634d9d5ad8e4301e848dec5306d569e1498ef201

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 Bytes

Contents

require File.expand_path(File.dirname(__FILE__)) + '/../helper'

class BoujouExportTest < Test::Unit::TestCase
  include ParabolicTracks
  P = File.dirname(__FILE__) + "/samples/ref_boujou.txt"
  
  def test_export_output_written
    t = Time.local(2010, "Apr", 15, 17, 21, 26)
    flexmock(Time).should_receive(:now).and_return(t)
    ensure_same_output Tracksperanto::Export::Boujou, P
  end
  
  def test_exporter_meta
    assert_equal "boujou_text.txt", Tracksperanto::Export::Boujou.desc_and_extension
    assert_equal "boujou feature tracks", Tracksperanto::Export::Boujou.human_name
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tracksperanto-4.1.2 test/export/test_boujou_export.rb
tracksperanto-4.1.0 test/export/test_boujou_export.rb
tracksperanto-4.0.0 test/export/test_boujou_export.rb