features/dmg.feature in choctop-0.11.1 vs features/dmg.feature in choctop-0.12.0
- old
+ new
@@ -12,34 +12,9 @@
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"
- Then folder "App With Whitespace.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 custom Applications symlink icon
Given a Cocoa app with choctop installed called "SampleApp"
And is configured for custom Applications icon
When I invoke task "rake dmg"
And dmg "appcast/build/SampleApp-0.1.0.dmg" is mounted as "SampleApp"