Skip to content

Commit

Permalink
Merge pull request airbrake#335 from airbrake/fix/cucumber-suite
Browse files Browse the repository at this point in the history
Comment out @wip scenarios to facilitate running parts of the suite
  • Loading branch information
dvdplm committed Sep 24, 2014
2 parents 6606737 + aeed08b commit 5e6e9b7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
46 changes: 23 additions & 23 deletions features/rails.feature
Original file line number Diff line number Diff line change
Expand Up @@ -81,30 +81,30 @@ Feature: Install the Gem in a Rails application
And I run `rails generate airbrake -k myapikey`
Then "config/deploy.rb" should not contain "capistrano"

@wip
Scenario: Support the Heroku addon in the generator
When I configure the Airbrake shim
And I run `rails generate airbrake -k myapikey -t`
And I configure the Heroku shim with "myapikey"
And I successfully run `rails generate airbrake --heroku`
Then I should receive a Airbrake notification
And I should see the Rails version
And my Airbrake configuration should contain the following line:
"""
config.api_key = ENV['HOPTOAD_API_KEY']
"""
# @wip
# Scenario: Support the Heroku addon in the generator
# When I configure the Airbrake shim
# And I run `rails generate airbrake -k myapikey -t`
# And I configure the Heroku shim with "myapikey"
# And I run `rails generate airbrake --heroku`
# Then I should receive a Airbrake notification
# And I should see the Rails version
# And my Airbrake configuration should contain the following line:
# """
# config.api_key = 'myapikey'
# """

@wip
Scenario: Support the --app option for the Heroku addon in the generator
When I configure the Airbrake shim
And I configure the Heroku shim with "myapikey" and multiple app support
And I run `rails generate airbrake --heroku -a myapp -t`
Then I should receive a Airbrake notification
And I should see the Rails version
And my Airbrake configuration should contain the following line:
"""
config.api_key = ENV['HOPTOAD_API_KEY']
"""
# @wip
# Scenario: Support the --app option for the Heroku addon in the generator
# When I configure the Airbrake shim
# And I configure the Heroku shim with "myapikey" and multiple app support
# And I run `rails generate airbrake --heroku -a myapp -t`
# Then I should receive a Airbrake notification
# And I should see the Rails version
# And my Airbrake configuration should contain the following line:
# """
# config.api_key = 'myapikey'
# """

Scenario: Filtering parameters in a controller
When I configure the Airbrake shim
Expand Down
8 changes: 4 additions & 4 deletions features/rake.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: Use the Gem to catch errors in a Rake application
When I run rake with airbrake autodetect not from terminal
Then Airbrake should catch the exception

@wip
Scenario: Airbrake should also send the command name
When I run `rake airbrake_autodetect_not_from_terminal`
Then command "airbrake_autodetect_not_from_terminal" should be reported
# @wip
# Scenario: Airbrake should also send the command name
# When I run `rake airbrake_autodetect_not_from_terminal`
# Then command "airbrake_autodetect_not_from_terminal" should be reported

0 comments on commit 5e6e9b7

Please sign in to comment.