Sha256: be4fc722b337cc6af6e02ec57d965286a17b76fcd2113235e18946d088e1f532

Contents?: true

Size: 630 Bytes

Versions: 8

Compression:

Stored size: 630 Bytes

Contents

# -*- encoding : utf-8 -*-
require File.expand_path(File.dirname(__FILE__)) + '/../helper'

class NukeExportTest < 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).once.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

8 entries across 8 versions & 1 rubygems

Version Path
tracksperanto-2.9.7 test/export/test_boujou_export.rb
tracksperanto-2.9.6 test/export/test_boujou_export.rb
tracksperanto-2.9.5 test/export/test_boujou_export.rb
tracksperanto-2.9.4 test/export/test_boujou_export.rb
tracksperanto-2.9.3 test/export/test_boujou_export.rb
tracksperanto-2.9.2 test/export/test_boujou_export.rb
tracksperanto-2.9.1 test/export/test_boujou_export.rb
tracksperanto-2.9.0 test/export/test_boujou_export.rb