lib/flexunit4/generators/templates/Flex4Rakefile.rb in flexunit-0.0.6.pre vs lib/flexunit4/generators/templates/Flex4Rakefile.rb in flexunit-0.0.7.pre
- old
+ new
@@ -15,15 +15,18 @@
flashplayer :debug => "<%= bin %>/<%= debug_swf_name %>"
##############################
# Test
-library :flexunit_flex
+library :flexunit, :flexunit_flex
+library :flexunit, :flexunit_uilistener
# Compile the test swf
-mxmlc "<%= bin %>/<%= test_swf_name %>" => :flexunit_flex do |t|
+mxmlc "<%= bin %>/<%= test_swf_name %>" do |t|
t.input = "<%= src %>/<%= test_runner_name %>.mxml"
+ t.library_path << "lib/flexunit/"
t.source_path << "test"
+ t.default_size = "900,550"
t.debug = true
end
desc "Compile and run the test swf"
flashplayer :test => "<%= bin %>/<%= test_swf_name %>"