Skip to content

Commit

Permalink
Upgrade to Aruba 0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Mar 20, 2011
1 parent 770a896 commit 2fb4b06
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions cucumber.gemspec
Expand Up @@ -24,13 +24,13 @@ for important information about this release. Happy cuking!
}

s.add_dependency 'gherkin', '>= 2.3.4'
s.add_dependency 'gherkin', '>= 2.3.5'
s.add_dependency 'term-ansicolor', '>= 1.0.5'
s.add_dependency 'builder', '>= 2.1.2'
s.add_dependency 'diff-lcs', '>= 1.1.2'
s.add_dependency 'json', '>= 1.4.6'

s.add_development_dependency 'aruba', '>= 0.3.3'
s.add_development_dependency 'aruba', '>= 0.3.4'
s.add_development_dependency 'rake', '>= 0.8.7'
s.add_development_dependency 'rspec', '>= 2.5.0'
s.add_development_dependency 'nokogiri', '>= 1.4.4'
Expand Down
20 changes: 10 additions & 10 deletions features/background.feature
Expand Up @@ -188,7 +188,7 @@ Feature: Background
"""

Scenario: run a specific scenario with a background
When I run "cucumber -q features/passing_background.feature:9"
When I run `cucumber -q features/passing_background.feature:9`
Then it should pass with exactly:
"""
Feature: Passing background sample
Expand All @@ -206,7 +206,7 @@ Feature: Background
"""

Scenario: run a feature with a background that passes
When I run "cucumber -q features/passing_background.feature"
When I run `cucumber -q features/passing_background.feature`
Then it should pass with exactly:
"""
Feature: Passing background sample
Expand All @@ -227,7 +227,7 @@ Feature: Background
"""

Scenario: run a feature with scenario outlines that has a background that passes
When I run "cucumber -q features/scenario_outline_passing_background.feature"
When I run `cucumber -q features/scenario_outline_passing_background.feature`
Then it should pass with exactly:
"""
Feature: Passing background with scenario outlines sample
Expand Down Expand Up @@ -256,7 +256,7 @@ Feature: Background
"""

Scenario: run a feature with scenario outlines that has a background that passes
When I run "cucumber -q features/background_tagged_before_on_outline.feature"
When I run `cucumber -q features/background_tagged_before_on_outline.feature`
Then it should pass with exactly:
"""
@background_tagged_before_on_outline
Expand All @@ -279,7 +279,7 @@ Feature: Background
"""

Scenario: run a feature with a background that fails
When I run "cucumber -q features/failing_background.feature"
When I run `cucumber -q features/failing_background.feature`
Then it should fail with exactly:
"""
Feature: Failing background sample
Expand Down Expand Up @@ -308,7 +308,7 @@ Feature: Background
"""

Scenario: run a feature with scenario outlines that has a background that fails
When I run "cucumber -q features/scenario_outline_failing_background.feature"
When I run `cucumber -q features/scenario_outline_failing_background.feature`
Then it should fail with exactly:
"""
Feature: Failing background with scenario outlines sample
Expand Down Expand Up @@ -344,7 +344,7 @@ Feature: Background
"""

Scenario: run a feature with a background that is pending
When I run "cucumber -q features/pending_background.feature"
When I run `cucumber -q features/pending_background.feature`
Then it should pass with exactly:
"""
Feature: Pending background sample
Expand All @@ -365,7 +365,7 @@ Feature: Background
"""

Scenario: background passes with first scenario but fails with second
When I run "cucumber -q features/failing_background_after_success.feature"
When I run `cucumber -q features/failing_background_after_success.feature`
Then it should fail with exactly:
"""
Feature: Failing background after previously successful background sample
Expand Down Expand Up @@ -413,7 +413,7 @@ Feature: Background
@multiline.should == string
end
"""
When I run "cucumber -q features/multiline_args_background.feature"
When I run `cucumber -q features/multiline_args_background.feature`
Then it should pass with exactly:
"""
Feature: Passing background with multiline args
Expand Down Expand Up @@ -483,7 +483,7 @@ Feature: Background
$after.should == true
end
"""
When I run "cucumber features/only_background_and_hooks.feature"
When I run `cucumber features/only_background_and_hooks.feature`
Then it should pass with exactly:
"""
Feature: woo yeah
Expand Down
2 changes: 1 addition & 1 deletion features/bootstrap.feature
Expand Up @@ -5,7 +5,7 @@ Feature: Bootstrapping a new project

Scenario: running cucumber against a non-existing feature file
Given a directory without standard Cucumber project directory structure
When I run "cucumber"
When I run `cucumber`
Then it should fail with:
"""
You don't have a 'features' directory. Please create one to get started.
Expand Down
4 changes: 2 additions & 2 deletions features/execute_with_tag_filter.feature
Expand Up @@ -25,7 +25,7 @@ Feature: Tag logic
"""

Scenario: ANDing tags
When I run "cucumber -q -t @one -t @three features/tagulicious.feature"
When I run `cucumber -q -t @one -t @three features/tagulicious.feature`
Then it should pass with:
"""
Feature: Sample
Expand All @@ -40,7 +40,7 @@ Feature: Tag logic
"""

Scenario: ORing tags
When I run "cucumber -q -t @one,@three features/tagulicious.feature"
When I run `cucumber -q -t @one,@three features/tagulicious.feature`
Then it should pass with:
"""
Feature: Sample
Expand Down
4 changes: 2 additions & 2 deletions features/hooks.feature
Expand Up @@ -23,7 +23,7 @@ Feature: Tagged hooks
"""

Scenario: omit tagged hook
When I run "cucumber features/f.feature:2"
When I run `cucumber features/f.feature:2`
Then it should fail with:
"""
Feature: With and without hooks
Expand All @@ -42,7 +42,7 @@ Feature: Tagged hooks
"""

Scenario: omit tagged hook
When I run "cucumber features/f.feature:6"
When I run `cucumber features/f.feature:6`
Then it should pass with:
"""
Feature: With and without hooks
Expand Down
4 changes: 2 additions & 2 deletions features/stats_formatters.feature
Expand Up @@ -28,7 +28,7 @@ Feature: Usage formatter
"""

Scenario: Run with --format usage
When I run "cucumber -f usage --dry-run"
When I run `cucumber -f usage --dry-run`
Then it should pass with exactly:
"""
--------
Expand All @@ -52,7 +52,7 @@ Feature: Usage formatter
"""

Scenario: Run with --format stepdefs
When I run "cucumber -f stepdefs --dry-run"
When I run `cucumber -f stepdefs --dry-run`
Then it should pass with exactly:
"""
--------
Expand Down
2 changes: 1 addition & 1 deletion features/step_definitions/cucumber_steps.rb
@@ -1,4 +1,4 @@
When /^I run cucumber "([^\"]*)"$/ do |cmd|
When /^I run cucumber "(.+)"$/ do |cmd|
run_simple(unescape("cucumber #{cmd}"), false)
end

Expand Down
10 changes: 5 additions & 5 deletions features/tagged_hooks.feature
Expand Up @@ -31,7 +31,7 @@ Feature: Tag logic
raise 'boom'
end
"""
When I run "cucumber -q features/tagulicious.feature"
When I run `cucumber -q features/tagulicious.feature`
Then it should fail with:
"""
Feature: Sample
Expand Down Expand Up @@ -74,7 +74,7 @@ Feature: Tag logic
raise 'boom'
end
"""
When I run "cucumber -q features/tagulicious.feature"
When I run `cucumber -q features/tagulicious.feature`
Then it should fail with:
"""
Feature: Sample
Expand Down Expand Up @@ -111,7 +111,7 @@ Feature: Tag logic
raise 'boom'
end
"""
When I run "cucumber -q features/tagulicious.feature"
When I run `cucumber -q features/tagulicious.feature`
Then it should pass with:
"""
Feature: Sample
Expand Down Expand Up @@ -143,7 +143,7 @@ Feature: Tag logic
raise 'boom'
end
"""
When I run "cucumber -q features/tagulicious.feature"
When I run `cucumber -q features/tagulicious.feature`
Then it should fail with:
"""
Feature: Sample
Expand Down Expand Up @@ -186,7 +186,7 @@ Feature: Tag logic
raise 'boom'
end
"""
When I run "cucumber -q features/tagulicious.feature"
When I run `cucumber -q features/tagulicious.feature`
Then it should fail with:
"""
Feature: Sample
Expand Down

0 comments on commit 2fb4b06

Please sign in to comment.