Sha256: 9603f2f83a88b4c8ba51c002ece4f59f7dbbb47a222939b3a4718745b7aa0199

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

Feature: Setup a Cocoa app with sparkle-ruby
  In order to reduce cost of using Sparkle to generate appcasts
  As a Cocoa developer or Cocoa application deployer
  I want a generator to install rake tasks that make using Sparkle easy-peasy
  
  Scenario: Install sparkle-ruby 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 '.'
    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/
  
  Scenario: Install sparkle-ruby into an app that has an existing Rakefile
    Given a Cocoa app that does have an existing Rakefile
    When I run local executable 'install_choctop' with arguments '.'
    And Rakefile wired to use development code instead of installed RubyGem
    And output does match /choctop added to your Rakefile/
    And output does match /rake build/
    And output does match /rake upload/
  
  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/
  

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
choctop-0.9.1 features/initial_generator.feature
choctop-0.9.0 features/initial_generator.feature
choctop-0.9.2 features/initial_generator.feature