features/initial_generator.feature in choctop-0.9.6 vs features/initial_generator.feature in choctop-0.10.0
- old
+ new
@@ -3,22 +3,22 @@
As a Cocoa developer or Cocoa application deployer
I want a generator to install rake tasks that make using Sparkle easy-peasy
Scenario: Install choctop into an app that has no existing Rakefile
Given a Cocoa app that does not have an existing Rakefile
- When I run local executable 'install_choctop' with arguments '.'
+ When I run local executable "install_choctop" with arguments "."
And Rakefile wired to use development code instead of installed RubyGem
- Then file 'Rakefile' is created
- And output does match /rake build/
- And output does match /rake upload/
+ Then file "Rakefile" is created
+ And I should see /rake build/
+ And I should see /rake upload/
- Scenario: Run 'install_choctop' without arguments shows an error
+ Scenario: Run "install_choctop" without arguments shows an error
Given a Cocoa app that does not have an existing Rakefile
- When I run local executable 'install_choctop' with arguments ''
- Then output does match /USAGE: install_choctop path\/to\/CocoaApp/
+ When I run local executable "install_choctop" with arguments ""
+ Then I should see /USAGE: install_choctop path/to/CocoaApp/
Scenario: Install choctop and generate a release_notes file
Given a Cocoa app that does not have an existing Rakefile
- When I run local executable 'install_choctop' with arguments '.'
- Then file 'release_notes.txt' is created
- And contents of file 'release_notes.txt' does match /Initial release/
+ When I run local executable "install_choctop" with arguments "."
+ Then file "release_notes.txt" is created
+ And file "release_notes.txt" contents does match /Initial release/
\ No newline at end of file