test/export/test_nuke_export.rb in tracksperanto-2.0.1 vs test/export/test_nuke_export.rb in tracksperanto-2.0.2

- old
+ new

@@ -1,10 +1,10 @@ -require File.dirname(__FILE__) + '/../helper' +require File.expand_path(File.dirname(__FILE__)) + '/../helper' class NukeExportTest < Test::Unit::TestCase include ParabolicTracks - P = File.dirname(__FILE__) + "/samples/ref_NukeScript.nk" + TEST_FILE = File.dirname(__FILE__) + "/samples/ref_NukeScript.nk" PREAMBLE = 'version 5.1200 Root { inputs 0 frame 1 last_frame 1 @@ -17,10 +17,10 @@ postage_stamp false xpos 0 ypos -60 }' def test_export_output_written - ensure_same_output Tracksperanto::Export::NukeScript, P + ensure_same_output Tracksperanto::Export::NukeScript, TEST_FILE end def test_exporter_meta assert_equal "nuke.nk", Tracksperanto::Export::NukeScript.desc_and_extension assert_equal "Nuke .nk script", Tracksperanto::Export::NukeScript.human_name \ No newline at end of file