features/dmg.feature in choctop-0.11.0 vs features/dmg.feature in choctop-0.11.1
- old
+ new
@@ -12,9 +12,23 @@
And file "Applications" in mounted volume is created
And file ".background/background.jpg" in mounted volume is created
And file ".background/background.jpg" in mounted volume is invisible
And file ".VolumeIcon.icns" in mounted volume is created
+ Scenario: Build a DMG with alternate build folder
+ Given a Cocoa app with choctop installed called "SampleApp"
+ When I invoke task "rake build"
+ And I move "build" to "alternate_build"
+ And I set choctop attribute "source_dir" to "alternate_build/Release"
+ When I invoke task "rake dmg NO_BUILD=1"
+ Then file "appcast/build/SampleApp-0.1.0.dmg" is created
+ When dmg "appcast/build/SampleApp-0.1.0.dmg" is mounted as "SampleApp"
+ Then folder "SampleApp.app" in mounted volume is created
+ And file "Applications" in mounted volume is created
+ And file ".background/background.jpg" in mounted volume is created
+ And file ".background/background.jpg" in mounted volume is invisible
+ And file ".VolumeIcon.icns" in mounted volume is created
+
Scenario: Build a DMG with a whitespace name
Given a Cocoa app with choctop installed called "App With Whitespace"
When I invoke task "rake dmg"
Then file "appcast/build/App With Whitespace-1.0.dmg" is created
When dmg "appcast/build/App With Whitespace-1.0.dmg" is mounted as "App With Whitespace"