Skip to content
Browse files

Fixed the name of the capistrano task in the test to be correct. Upda…

…ted the cucumber feature to look for the right task name.
  • Loading branch information...
1 parent 5758fc5 commit 21f66beeef08fe7c6ccc4be2a4c386e30fe15cba @czarneckid czarneckid committed with Harold Giménez Sep 3, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 features/rails.feature
  2. +2 −2 test/capistrano_test.rb
View
4 features/rails.feature
@@ -67,7 +67,7 @@ Feature: Install the Gem in a Rails application
And I configure my application to require the "airbrake" gem
And I run the airbrake generator with "-k myapikey"
And I run "cap -T"
- Then I should see "deploy:notify_airbrake"
+ Then I should see "airbrake:notify"
Scenario: Configure and deploy using only vendored gem
When I generate a new Rails application
@@ -79,7 +79,7 @@ Feature: Install the Gem in a Rails application
And I uninstall the "airbrake" gem
And I install cached gems
And I run "cap -T"
- Then I should see "deploy:notify_airbrake"
+ Then I should see "airbrake:notify"
Scenario: Try to install when the airbrake plugin still exists
When I generate a new Rails application
View
4 test/capistrano_test.rb
@@ -13,11 +13,11 @@ def setup
@configuration.dry_run = true
end
- should "define deploy:notify_airbrake task" do
+ should "define airbrake:notify task" do
assert_not_nil @configuration.find_task('airbrake:notify')
end
- should "log when calling deploy:notify_airbrake task" do
+ should "log when calling airbrake:notify task" do
@configuration.set(:current_revision, '084505b1c0e0bcf1526e673bb6ac99fbcb18aecc')
@configuration.set(:repository, 'repository')
io = StringIO.new

0 comments on commit 21f66be

Please sign in to comment.
Something went wrong with that request. Please try again.