Browse files

Automatically run the integration test

  • Loading branch information...
1 parent 022a1a3 commit 18854aed892a6c49d59817bdfec5d052881179b2 @jferris jferris committed Jan 13, 2010
Showing with 1 addition and 3 deletions.
  1. +0 −2 features/rails.feature
  2. +1 −1 generators/hoptoad/hoptoad_generator.rb
View
2 features/rails.feature
@@ -8,7 +8,6 @@ Feature: Install the Gem in a Rails application
And I configure the Hoptoad shim
And I configure my application to require the "hoptoad_notifier" gem
And I run "script/generate hoptoad -k myapikey"
- And I run "rake hoptoad:test --trace"
Then I should receive a Hoptoad notification
Scenario: Configure the notifier by hand
@@ -17,7 +16,6 @@ Feature: Install the Gem in a Rails application
And I configure the notifier to use "myapikey" as an API key
And I configure my application to require the "hoptoad_notifier" gem
And I run "script/generate hoptoad"
- And I run "rake hoptoad:test --trace"
Then I should receive a Hoptoad notification
Scenario: Try to install without an api key
View
2 generators/hoptoad/hoptoad_generator.rb
@@ -21,7 +21,7 @@ def manifest
m.template 'initializer.rb', 'config/initializers/hoptoad.rb',
:assigns => {:api_key => options[:api_key]}
end
- # m.rake "hoptoad:test", :generate_only => true
+ m.rake "hoptoad:test", :generate_only => true
end
end
end

0 comments on commit 18854ae

Please sign in to comment.