Sha256: 124c366a2919792d305e0145edc945bdbe0c1a7e7e00e78788a24cbcf21c6530

Contents?: true

Size: 643 Bytes

Versions: 2

Compression:

Stored size: 643 Bytes

Contents

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

class FlameStabilizerExportTestTest < Test::Unit::TestCase
  include ParabolicTracks
  P = File.dirname(__FILE__) + "/samples/ref_flame.stabilizer"
  
  def test_export_output_written
    t = Time.local(2010, "Feb", 18, 17, 22, 12)
    flexmock(Time).should_receive(:now).once.and_return(t)
    ensure_same_output Tracksperanto::Export::FlameStabilizer, P
  end
  
  def test_exporter_meta
    assert_equal "flame.stabilizer", Tracksperanto::Export::FlameStabilizer.desc_and_extension
    assert_equal "Flame/Smoke 2D Stabilizer setup", Tracksperanto::Export::FlameStabilizer.human_name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tracksperanto-1.8.1 test/export/test_flame_stabilizer_export.rb
tracksperanto-1.8.0 test/export/test_flame_stabilizer_export.rb