test/unit/flashplayer_task_test.rb in flashsdk-1.0.27.pre vs test/unit/flashplayer_task_test.rb in flashsdk-1.0.28.pre
- old
+ new
@@ -52,28 +52,28 @@
should "work with swf in block" do
t = flashplayer :run do |t|
t.input = @swf
end
- file @swf
+ Rake::FileTask.define_task @swf
configure_task t
t.invoke
assert_equal @swf, t.input
end
should "work with swf as prerequisite" do
t = flashplayer :run => @swf
- file @swf
+ Rake::FileTask.define_task @swf
configure_task t
t.invoke
assert_equal @swf, t.input
end
should "fire when declared as a dependency" do
t = flashplayer :run => @swf
- file @swf
+ Rake::FileTask.define_task @swf
configure_task t
- other = task :parent => :run
+ other = Rake::Task.define_task :parent => :run
other.invoke
end
end
private