test/unit/adl_test.rb in flashsdk-1.0.29.pre vs test/unit/adl_test.rb in flashsdk-1.0.33.pre
- old
+ new
@@ -4,24 +4,24 @@
include Sprout::TestHelper
context "An ADL tool" do
setup do
- @fixture = File.join 'test', 'fixtures', 'air', 'simple'
- @app_desc = File.join @fixture, 'SomeProject.xml'
- @profile = 'mobileDevice'
- @screensize = 'NexusOne'
+ @fixture = File.join 'test', 'fixtures', 'air', 'simple'
+ @app_desc = File.join @fixture, 'SomeProject.xml'
+ @profile = 'mobileDevice'
+ @screensize = 'NexusOne'
end
teardown do
end
should "accept input" do
- adl = FlashSDK::ADL.new
- adl.app_desc = @app_desc
- adl.root_dir = Dir.pwd
- adl.screensize = @screensize
- adl.profile = @profile
+ adl = FlashSDK::ADL.new
+ adl.app_desc = @app_desc
+ adl.root_dir = Dir.pwd
+ adl.screensize = @screensize
+ adl.profile = @profile
assert_equal "-profile #{@profile} -screensize #{@screensize} #{@app_desc} #{Dir.pwd}", adl.to_shell
# Uncomment to actually launch
# the AIR application:
#adl.execute
end