test/unit/flashplayer_task_test.rb in flashsdk-1.0.18.pre vs test/unit/flashplayer_task_test.rb in flashsdk-1.0.20.pre
- old
+ new
@@ -12,24 +12,30 @@
# only runs once per VM run...
load 'flashplayer/specification.rb'
@swf = File.join(fixtures, 'flashplayer', 'AsUnit Runner.swf')
@missing_home = File.join(fixtures, 'missing_folder')
@config_path = File.join(@missing_home, 'fp_config', 'mm.cfg')
+
+ Sprout.stdout = $stdout
+ Sprout.stderr = $stderr
end
teardown do
remove_file @missing_home
+ ENV['USE_FDB'] = 'false'
end
-=begin
## THIS METHOD WAS COMMENTED OUT....
+=begin
should "wait for SWF even if clean system" do
# No creation of expected FlashPlayer folders...
FlashPlayer.stubs(:home).returns @missing_home
FlashPlayer::MMConfig.any_instance.stubs(:system_home).returns @missing_home
FlashPlayer::MMConfig.any_instance.stubs(:config_path).returns @config_path
FlashPlayer::MMConfig.any_instance.stubs(:user_confirmation?).returns false
+
+ ENV['USE_FDB'] = 'true'
as_a_mac_system do
t = flashplayer @swf
t.invoke
end