features/dmg.feature in choctop-0.9.3 vs features/dmg.feature in choctop-0.9.5
- old
+ new
@@ -2,15 +2,25 @@
In order to reduce cost of building DMG images for each release of an application
As a Cocoa developer or release manager
I want a rake task to generate a DMG based on custom settings
Scenario: Build a DMG with default custom DMG config
- Given a Cocoa app with choctop installed
+ Given a Cocoa app with choctop installed called 'SampleApp'
When task 'rake dmg' is invoked
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.jpg' in mounted volume is created
And file 'background.jpg' in mounted volume is invisible
And file '.VolumeIcon.icns' in mounted volume is created
-
\ No newline at end of file
+
+ Scenario: Build a DMG with a whitespace name
+ Given a Cocoa app with choctop installed called 'App With Whitespace'
+ When task 'rake dmg' is invoked
+ 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.jpg' in mounted volume is created
+ And file 'background.jpg' in mounted volume is invisible
+ And file '.VolumeIcon.icns' in mounted volume is created