test/unit/task_test.rb in flashplayer-10.1.6.pre vs test/unit/task_test.rb in flashplayer-10.1.7.pre

- old
+ new

@@ -1,8 +1,8 @@ require File.join(File.dirname(__FILE__), 'test_helper') -class FlashPlayerTaskTest < Test::Unit::TestCase +class TaskTest < Test::Unit::TestCase include SproutTestCase context "A FlashPlayerTask" do setup do @@ -71,13 +71,14 @@ private def configure_task t t.logger = StringIO.new + # Comment following lines to really launch the player: sys = FakeSystem.new t.stubs(:current_system).returns sys - sys.expects(:open_flashplayer_with) + sys.expects(:open_flashplayer_with).returns Thread.new{} end end class FakeSystem