test/unit/mxmlc_test.rb in flashsdk-1.0.18.pre vs test/unit/mxmlc_test.rb in flashsdk-1.0.20.pre
- old
+ new
@@ -25,11 +25,11 @@
assert_equal '-source-path+=test/fixtures/mxmlc/simple -static-link-runtime-shared-libraries test/fixtures/mxmlc/simple/SomeFile.as', mxmlc.to_shell
end
end
should "compile a swf" do
- insert_fake_executable File.join(fixtures, 'sdk', 'mxmlc')
mxmlc = FlashSDK::MXMLC.new
+ mxmlc.binary_path = File.join fixtures, 'sdk', 'mxmlc'
mxmlc.input = @input
mxmlc.execute
assert_file @expected_output
end