Sha256: 63e27f167126300a0792cf786ba6c3bf712ca718f8e20523673fdbb3e1212673
Contents?: true
Size: 1.54 KB
Versions: 5
Compression:
Stored size: 1.54 KB
Contents
Feature: Command Line Scenario: Config file can be formatted like Rails' database.yml Given I run `rails new heroku_san_test -O` And I cd to "heroku_san_test" And I overwrite "Gemfile" with: """ source :rubygems gem 'heroku_san', :path => '../../../.' """ Given a file named "config/heroku.yml" with: """ production: app: awesomeapp staging: app: awesomeapp-staging demo: app: awesomeapp-demo """ When I run `rake heroku:apps:local` Then the output should contain "production is shorthand for the Heroku app awesomeapp" And the output should contain "staging is shorthand for the Heroku app awesomeapp-staging" And the output should contain "demo is shorthand for the Heroku app awesomeapp-demo" Scenario: Config file still accepts the heroku_san format Given I run `rails new heroku_san_test -O` And I cd to "heroku_san_test" And I overwrite "Gemfile" with: """ source :rubygems gem 'heroku_san', :path => '../../../.' """ Given a file named "config/heroku.yml" with: """ apps: production: awesomeapp staging: awesomeapp-staging demo: awesomeapp-demo """ When I run `rake heroku:apps:local` Then the output should contain "production is shorthand for the Heroku app awesomeapp" And the output should contain "staging is shorthand for the Heroku app awesomeapp-staging" And the output should contain "demo is shorthand for the Heroku app awesomeapp-demo"
Version data entries
5 entries across 5 versions & 1 rubygems