Skip to content

Instantly share code, notes, and snippets.

@phillipkoebbe
Created March 11, 2010 03:27
Show Gist options
  • Save phillipkoebbe/328781 to your computer and use it in GitHub Desktop.
Save phillipkoebbe/328781 to your computer and use it in GitHub Desktop.
diff --git a/features/installing_culerity.feature b/features/installing_culerity.feature
index 9bdfea5..856f406 100644
--- a/features/installing_culerity.feature
+++ b/features/installing_culerity.feature
@@ -5,8 +5,8 @@ Feature: Installing culerity
Background:
Given a Rails app
- And I run executable "script/generate" with arguments "cucumber"
- And I delete file "features/step_definitions/webrat_steps.rb"
+ And I run executable "script/generate" with arguments "cucumber --rspec --webrat"
+ And I delete file "features/step_definitions/web_steps.rb"
And I delete file "features/support/env.rb"
And culerity is installed as a plugin
And I invoke task "rake db:migrate"
@@ -23,7 +23,7 @@ Feature: Installing culerity
Scenario: Install culerity into a Rails app and check it works
Then file "features/step_definitions/culerity_steps.rb" is created
Then file "config/environments/culerity.rb" is created
-
+
When I run executable "cucumber" with arguments "features/"
Then I should see "0 scenarios"
And I should see "0 steps"
@@ -32,4 +32,4 @@ Feature: Installing culerity
And I run executable "cucumber" with arguments "features/"
Then I should see "1 scenario"
And I should see "5 steps (5 passed)"
- And I should not see "WARNING: Speed up executing by running 'rake culerity:rails:start'"
\ No newline at end of file
+ And I should not see "WARNING: Speed up executing by running 'rake culerity:rails:start'"
diff --git a/features/running_cucumber_without_explicitly_running_external_services.feature b/features/running_cucumber_without_explicitly_running_external_services.feature
index 5fa70ca..fa7efea 100644
--- a/features/running_cucumber_without_explicitly_running_external_services.feature
+++ b/features/running_cucumber_without_explicitly_running_external_services.feature
@@ -5,8 +5,8 @@ Feature: Running cucumber without explicitly running external services
Background:
Given a Rails app
- And I run executable "script/generate" with arguments "cucumber"
- And I delete file "features/step_definitions/webrat_steps.rb"
+ And I run executable "script/generate" with arguments "cucumber --rspec --webrat"
+ And I delete file "features/step_definitions/web_steps.rb"
And I delete file "features/support/env.rb"
And culerity is installed as a plugin
And I invoke task "rake db:migrate"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment