Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update to aruba 0.1.9

  • Loading branch information...
commit 8d5976626ea7bb83ca3c65256d1a03b07d77a199 1 parent 6bfcc08
@dchelimsky dchelimsky authored
View
18 features/command_line/example_name_option.feature
@@ -37,36 +37,36 @@ Feature: example name option
Scenario: no matches
When I run "rspec . --example nothing_like_this"
- Then I should see "0 examples, 0 failures"
+ Then the output should contain "0 examples, 0 failures"
Scenario: match on one word
When I run "rspec . --example example"
- Then I should see "7 examples, 0 failures"
+ Then the output should contain "7 examples, 0 failures"
Scenario: one match in each context
When I run "rspec . --example 'first example'"
- Then I should see "4 examples, 0 failures"
+ Then the output should contain "4 examples, 0 failures"
Scenario: one match in one file using just the example name
When I run "rspec . --example 'first example in first group'"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: one match in one file using the example name and the group name
When I run "rspec . --example 'first group first example in first group'"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: one match in one file using regexp
When I run "rspec . --example 'first .* first example'"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: all examples in one group
When I run "rspec . --example 'first group'"
- Then I should see "2 examples, 0 failures"
+ Then the output should contain "2 examples, 0 failures"
Scenario: one match in one file with group name
When I run "rspec . --example 'second group first example'"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: all examples in one group including examples in nested groups
When I run "rspec . --example 'third group'"
- Then I should see "3 examples, 0 failures"
+ Then the output should contain "3 examples, 0 failures"
View
88 features/command_line/line_number_appended_to_path.feature
@@ -30,79 +30,79 @@ Feature: line number appended to file path
Scenario: nested groups - outer group on declaration line
When I run "rspec ./example_spec.rb:1 --format doc"
- Then I should see "3 examples, 0 failures"
- And I should see "second example in outer group"
- And I should see "first example in outer group"
- And I should see "example in nested group"
+ Then the output should contain "3 examples, 0 failures"
+ And the output should contain "second example in outer group"
+ And the output should contain "first example in outer group"
+ And the output should contain "example in nested group"
Scenario: nested groups - outer group inside block before example
When I run "rspec ./example_spec.rb:2 --format doc"
- Then I should see "3 examples, 0 failures"
- And I should see "second example in outer group"
- And I should see "first example in outer group"
- And I should see "example in nested group"
+ Then the output should contain "3 examples, 0 failures"
+ And the output should contain "second example in outer group"
+ And the output should contain "first example in outer group"
+ And the output should contain "example in nested group"
Scenario: nested groups - inner group on declaration line
When I run "rspec ./example_spec.rb:11 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "example in nested group"
- And I should not see "second example in outer group"
- And I should not see "first example in outer group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "example in nested group"
+ And the output should not contain "second example in outer group"
+ And the output should not contain "first example in outer group"
Scenario: nested groups - inner group inside block before example
When I run "rspec ./example_spec.rb:12 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "example in nested group"
- And I should not see "second example in outer group"
- And I should not see "first example in outer group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "example in nested group"
+ And the output should not contain "second example in outer group"
+ And the output should not contain "first example in outer group"
Scenario: two examples - first example on declaration line
When I run "rspec ./example_spec.rb:3 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "first example in outer group"
- But I should not see "second example in outer group"
- And I should not see "example in nested group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "first example in outer group"
+ But the output should not contain "second example in outer group"
+ And the output should not contain "example in nested group"
Scenario: two examples - first example inside block
When I run "rspec ./example_spec.rb:4 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "first example in outer group"
- But I should not see "second example in outer group"
- And I should not see "example in nested group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "first example in outer group"
+ But the output should not contain "second example in outer group"
+ And the output should not contain "example in nested group"
Scenario: two examples - first example on end
When I run "rspec ./example_spec.rb:5 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "first example in outer group"
- But I should not see "second example in outer group"
- And I should not see "example in nested group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "first example in outer group"
+ But the output should not contain "second example in outer group"
+ And the output should not contain "example in nested group"
Scenario: two examples - first example after end but before next example
When I run "rspec ./example_spec.rb:6 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "first example in outer group"
- But I should not see "second example in outer group"
- And I should not see "example in nested group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "first example in outer group"
+ But the output should not contain "second example in outer group"
+ And the output should not contain "example in nested group"
Scenario: two examples - second example on declaration line
When I run "rspec ./example_spec.rb:7 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "second example in outer group"
- But I should not see "first example in outer group"
- And I should not see "example in nested group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "second example in outer group"
+ But the output should not contain "first example in outer group"
+ And the output should not contain "example in nested group"
Scenario: two examples - second example inside block
When I run "rspec ./example_spec.rb:7 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "second example in outer group"
- But I should not see "first example in outer group"
- And I should not see "example in nested group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "second example in outer group"
+ But the output should not contain "first example in outer group"
+ And the output should not contain "example in nested group"
Scenario: two examples - second example on end
When I run "rspec ./example_spec.rb:7 --format doc"
- Then I should see "1 example, 0 failures"
- And I should see "second example in outer group"
- But I should not see "first example in outer group"
- And I should not see "example in nested group"
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain "second example in outer group"
+ But the output should not contain "first example in outer group"
+ And the output should not contain "example in nested group"
View
8 features/command_line/line_number_option.feature
@@ -21,8 +21,8 @@ Feature: line number option
end
"""
When I run "rspec ./example_spec.rb --line 5 --format doc"
- Then I should see "1 example, 0 failures"
- Then I should see "should be > 8"
+ Then the output should contain "1 example, 0 failures"
+ Then the output should contain "should be > 8"
But the stdout should not contain "should be < 10"
Scenario: one liner
@@ -39,6 +39,6 @@ Feature: line number option
end
"""
When I run "rspec ./example_spec.rb --line 5 --format doc"
- Then I should see "1 example, 0 failures"
- Then I should see "should be > 8"
+ Then the output should contain "1 example, 0 failures"
+ Then the output should contain "should be > 8"
But the stdout should not contain "should be < 10"
View
6 features/configuration/custom_settings.feature
@@ -32,7 +32,7 @@ Feature: custom settings
end
"""
When I run "rspec ./additional_setting_spec.rb"
- Then I should see "0 failures"
+ Then the output should contain "0 failures"
Scenario: default to true
Given a file named "additional_setting_spec.rb" with:
@@ -58,7 +58,7 @@ Feature: custom settings
end
"""
When I run "rspec ./additional_setting_spec.rb"
- Then I should see "0 failures"
+ Then the output should contain "0 failures"
Scenario: overridden in a subsequent RSpec.configure block
Given a file named "additional_setting_spec.rb" with:
@@ -82,5 +82,5 @@ Feature: custom settings
end
"""
When I run "rspec ./additional_setting_spec.rb"
- Then I should see "0 failures"
+ Then the output should contain "0 failures"
View
6 features/configuration/options_file.feature
@@ -21,7 +21,7 @@ Feature: spec/spec.opts
end
"""
When I run "rspec ./spec/example_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: color set in .rspec
Given a file named ".rspec" with:
@@ -39,7 +39,7 @@ Feature: spec/spec.opts
end
"""
When I run "rspec ./spec/example_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: formatter set in both (RSpec.configure wins)
Given a file named ".rspec" with:
@@ -63,5 +63,5 @@ Feature: spec/spec.opts
end
"""
When I run "rspec ./spec/example_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
View
2  features/example_groups/describe_aliases.feature
@@ -18,7 +18,7 @@ Feature: Nested example groups
end
"""
When I run "rspec ./context_instead_of_describe_spec.rb -fn"
- Then I should see:
+ Then the output should contain:
"""
Using context
with nested context
View
14 features/example_groups/nested_groups.feature
@@ -20,10 +20,10 @@ Feature: Nested example groups
end
end
"""
- When I run "rspec ./nested_example_groups.rb -fdoc"
- Then I should see matching /^Some Object/
- And I should see matching /^\s+with some more context/
- And I should see matching /^\s+with some other context/
+ When I run "rspec nested_example_groups.rb -fdoc"
+ Then the output should contain "Some Object"
+ And the output should contain "with some more context"
+ And the output should contain "with some other context"
Scenario: failure in outer group continues to run inner groups
Given a file named "nested_example_groups.rb" with:
@@ -39,6 +39,6 @@ Feature: Nested example groups
end
end
"""
- When I run "rspec ./nested_example_groups.rb -fdoc"
- Then I should see "2 examples, 1 failure"
- And I should see "passes"
+ When I run "rspec nested_example_groups.rb -fdoc"
+ Then the output should contain "2 examples, 1 failure"
+ And the output should contain "passes"
View
20 features/filtering/inclusion_filters.feature
@@ -16,8 +16,8 @@ Feature: inclusion feature
end
"""
When I run "rspec ./spec/sample_spec.rb --format doc"
- Then I should see "does another thing"
- And I should not see "does one thing"
+ Then the output should contain "does another thing"
+ And the output should not contain "does one thing"
Scenario: focus on one group
Given a file named "spec/sample_spec.rb" with:
@@ -40,9 +40,9 @@ Feature: inclusion feature
end
"""
When I run "rspec ./spec/sample_spec.rb --format doc"
- Then I should see "group 1 example 1"
- And I should see "group 1 example 2"
- And I should not see "group 2 example 1"
+ Then the output should contain "group 1 example 1"
+ And the output should contain "group 1 example 2"
+ And the output should not contain "group 2 example 1"
Scenario: no examples match filter
Given a file named "spec/sample_spec.rb" with:
@@ -66,9 +66,9 @@ Feature: inclusion feature
end
"""
When I run "rspec ./spec/sample_spec.rb --format doc"
- Then I should see "No examples were matched by {:focus=>true}, running all"
- And I should see "group 1 example 1"
- And I should see "group 1 example 2"
- And I should see "group 2 example 1"
- And I should see "3 examples, 0 failures"
+ Then the output should contain "No examples were matched by {:focus=>true}, running all"
+ And the output should contain "group 1 example 1"
+ And the output should contain "group 1 example 2"
+ And the output should contain "group 2 example 1"
+ And the output should contain "3 examples, 0 failures"
View
2  features/formatters/custom_formatter.feature
@@ -28,5 +28,5 @@ Feature: custom formatters
"""
When I run "rspec ./simple_example_spec.rb --require custom_formatter.rb --format CustomFormatter"
- Then I should see "example: my example"
+ Then the output should contain "example: my example"
And the exit status should be 0
View
26 features/hooks/around_hooks.feature
@@ -20,7 +20,7 @@ Feature: around hooks
end
"""
When I run "rspec ./ensure_around_blocks_are_run.rb"
- Then I should see matching:
+ Then the output should contain:
"""
around each before
in the example
@@ -45,7 +45,7 @@ Feature: around hooks
end
"""
When I run "rspec ./ensure_around_blocks_are_run.rb"
- Then I should see matching:
+ Then the output should contain:
"""
around each before
in the example
@@ -76,7 +76,7 @@ Feature: around hooks
end
"""
When I run "rspec ./ensure_around_blocks_are_run.rb"
- Then I should see matching:
+ Then the output should contain:
"""
around each before
before each
@@ -109,7 +109,7 @@ Feature: around hooks
end
"""
When I run "rspec ./ensure_around_blocks_are_run.rb"
- Then I should see matching:
+ Then the output should contain:
"""
before all
around each before
@@ -140,7 +140,7 @@ Feature: around hooks
end
"""
When I run "rspec ./around_block_with_context.rb"
- Then I should see "1 example, 0 failure"
+ Then the output should contain "1 example, 0 failure"
Scenario: implicitly pending examples should be detected as Not Yet Implemented
Given a file named "around_block_with_implicit_pending_example.rb" with:
@@ -154,8 +154,8 @@ Feature: around hooks
end
"""
When I run "rspec ./around_block_with_implicit_pending_example.rb"
- Then I should see "1 example, 0 failures, 1 pending"
- And I should see "implicit pending example should be detected as Not Yet Implemented (Not Yet Implemented)"
+ Then the output should contain "1 example, 0 failures, 1 pending"
+ And the output should contain "implicit pending example should be detected as Not Yet Implemented (Not Yet Implemented)"
Scenario: explicitly pending examples should be detected as pending
@@ -172,8 +172,8 @@ Feature: around hooks
end
"""
When I run "rspec ./around_block_with_explicit_pending_example.rb"
- Then I should see "1 example, 0 failures, 1 pending"
- And I should see "explicit pending example should be detected as pending (No reason given)"
+ Then the output should contain "1 example, 0 failures, 1 pending"
+ And the output should contain "explicit pending example should be detected as pending (No reason given)"
Scenario: multiple around hooks in the same scope are all run
Given a file named "around_hooks_in_same_scope.rb" with:
@@ -198,8 +198,8 @@ Feature: around hooks
end
"""
When I run "rspec ./around_hooks_in_same_scope.rb"
- Then I should see "1 example, 0 failure"
- And I should see matching:
+ Then the output should contain "1 example, 0 failure"
+ And the output should contain:
"""
first around hook before
second around hook before
@@ -258,8 +258,8 @@ Feature: around hooks
end
"""
When I run "rspec ./around_hooks_in_outer_scope.rb"
- Then I should see "1 example, 0 failure"
- And I should see matching:
+ Then the output should contain "1 example, 0 failure"
+ And the output should contain:
"""
first outermost around hook before
second outermost around hook before
View
54 features/hooks/before_and_after_hooks.feature
@@ -58,7 +58,7 @@ Feature: before and after hooks
end
"""
When I run "rspec ./before_each_spec.rb"
- Then I should see "3 examples, 0 failures"
+ Then the output should contain "3 examples, 0 failures"
Scenario: define before(:all) block in example group
Given a file named "before_all_spec.rb" with:
@@ -92,10 +92,10 @@ Feature: before and after hooks
end
"""
When I run "rspec ./before_all_spec.rb"
- Then I should see "3 examples, 0 failures"
+ Then the output should contain "3 examples, 0 failures"
When I run "rspec ./before_all_spec.rb:15"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: define before and after blocks in configuration
Given a file named "befores_in_configuration_spec.rb" with:
@@ -125,7 +125,7 @@ Feature: before and after hooks
end
"""
When I run "rspec ./befores_in_configuration_spec.rb"
- Then I should see "2 examples, 0 failures"
+ Then the output should contain "2 examples, 0 failures"
Scenario: before/after blocks are run in order
Given a file named "ensure_block_order_spec.rb" with:
@@ -155,7 +155,13 @@ Feature: before and after hooks
end
"""
When I run "rspec ./ensure_block_order_spec.rb"
- Then I should see matching /before all\nbefore each\nafter each\n.after all/
+ Then the output should contain:
+ """
+ before all
+ before each
+ after each
+ .after all
+ """
Scenario: before/after blocks defined in config are run in order
Given a file named "configuration_spec.rb" with:
@@ -194,7 +200,7 @@ Feature: before and after hooks
end
"""
When I run "rspec configuration_spec.rb"
- Then I should see matching:
+ Then the output should contain:
"""
before suite
before all
@@ -235,16 +241,32 @@ Feature: before and after hooks
end
"""
When I run "rspec ./before_and_after_all_spec.rb"
- Then I should see "2 examples, 0 failures"
- Then I should see matching /outer before all\n.inner before all\n.inner after all\nouter after all\n\n\n\nFinished/
+ Then the output should contain "2 examples, 0 failures"
+ And the output should contain:
+ """
+ outer before all
+ .inner before all
+ .inner after all
+ outer after all
+ """
When I run "rspec ./before_and_after_all_spec.rb:14"
- Then I should see "1 example, 0 failures"
- Then I should see matching /outer before all\ninner before all\n.inner after all\nouter after all\n\n\n\nFinished/
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain:
+ """
+ outer before all
+ inner before all
+ .inner after all
+ outer after all
+ """
When I run "rspec ./before_and_after_all_spec.rb:6"
- Then I should see "1 example, 0 failures"
- Then I should see matching /outer before all\n.outer after all\n\n\n\nFinished/
+ Then the output should contain "1 example, 0 failures"
+ And the output should contain:
+ """
+ outer before all
+ .outer after all
+ """
Scenario: nested examples have access to state set in outer before(:all)
Given a file named "before_all_spec.rb" with:
@@ -274,7 +296,7 @@ Feature: before and after hooks
end
"""
When I run "rspec before_all_spec.rb"
- Then I should see "3 examples, 0 failures"
+ Then the output should contain "3 examples, 0 failures"
Scenario: before/after all blocks have access to state
Given a file named "before_and_after_all_spec.rb" with:
@@ -310,7 +332,7 @@ Feature: before and after hooks
end
"""
When I run "rspec ./before_and_after_all_spec.rb"
- Then I should see "2 examples, 0 failures"
+ Then the output should contain "2 examples, 0 failures"
Scenario: exception in before(:each) is captured and reported as failure
Given a file named "error_in_before_each_spec.rb" with:
@@ -325,5 +347,5 @@ Feature: before and after hooks
end
"""
When I run "rspec ./error_in_before_each_spec.rb"
- Then I should see "1 example, 1 failure"
- And I should see "this error"
+ Then the output should contain "1 example, 1 failure"
+ And the output should contain "this error"
View
2  features/hooks/described_class.feature
@@ -10,5 +10,5 @@ Feature: described class
end
"""
When I run "rspec ./spec/example_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
View
2  features/hooks/halt.feature
@@ -23,4 +23,4 @@ Feature: halt
end
"""
When I run "rspec ./spec/example_spec.rb"
- Then I should see "1 example, 1 failure"
+ Then the output should contain "1 example, 1 failure"
View
2  features/mock_framework_integration/use_flexmock.feature
@@ -19,5 +19,5 @@ Feature: mock with flexmock
end
"""
When I run "rspec ./flexmock_example_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
And the exit status should be 0
View
2  features/mock_framework_integration/use_mocha.feature
@@ -19,5 +19,5 @@ Feature: mock with mocha
end
"""
When I run "rspec ./mocha_example_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
And the exit status should be 0
View
2  features/mock_framework_integration/use_rr.feature
@@ -19,5 +19,5 @@ Feature: mock with rr
end
"""
When I run "rspec ./rr_example_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
And the exit status should be 0
View
2  features/mock_framework_integration/use_rspec.feature
@@ -19,5 +19,5 @@ Feature: mock with rspec
end
"""
When I run "rspec ./rspec_example_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
And the exit status should be 0
View
26 features/pending/pending_examples.feature
@@ -12,9 +12,9 @@ Feature: pending examples
"""
When I run "rspec ./example_without_block_spec.rb"
Then the exit status should be 0
- And I should see "1 example, 0 failures, 1 pending"
- And I should see "Not Yet Implemented"
- And I should see "example_without_block_spec.rb:2"
+ And the output should contain "1 example, 0 failures, 1 pending"
+ And the output should contain "Not Yet Implemented"
+ And the output should contain "example_without_block_spec.rb:2"
Scenario: pending any arbitary reason, with no block
Given a file named "pending_without_block_spec.rb" with:
@@ -28,9 +28,9 @@ Feature: pending examples
"""
When I run "rspec ./pending_without_block_spec.rb"
Then the exit status should be 0
- And I should see "1 example, 0 failures, 1 pending"
- And I should see "(something else getting finished)"
- And I should see "pending_without_block_spec.rb:2"
+ And the output should contain "1 example, 0 failures, 1 pending"
+ And the output should contain "(something else getting finished)"
+ And the output should contain "pending_without_block_spec.rb:2"
Scenario: pending any arbitary reason, with a block that fails
Given a file named "pending_with_failing_block_spec.rb" with:
@@ -45,9 +45,9 @@ Feature: pending examples
"""
When I run "rspec ./pending_with_failing_block_spec.rb"
Then the exit status should be 0
- And I should see "1 example, 0 failures, 1 pending"
- And I should see "(something else getting finished)"
- And I should see "pending_with_failing_block_spec.rb:2"
+ And the output should contain "1 example, 0 failures, 1 pending"
+ And the output should contain "(something else getting finished)"
+ And the output should contain "pending_with_failing_block_spec.rb:2"
Scenario: pending any arbitary reason, with a block that passes
Given a file named "pending_with_passing_block_spec.rb" with:
@@ -62,7 +62,7 @@ Feature: pending examples
"""
When I run "rspec ./pending_with_passing_block_spec.rb"
Then the exit status should not be 0
- And I should see "1 example, 1 failure"
- And I should see "FIXED"
- And I should see "Expected pending 'something else getting finished' to fail. No Error was raised."
- And I should see "pending_with_passing_block_spec.rb:3"
+ And the output should contain "1 example, 1 failure"
+ And the output should contain "FIXED"
+ And the output should contain "Expected pending 'something else getting finished' to fail. No Error was raised."
+ And the output should contain "pending_with_passing_block_spec.rb:3"
View
8 features/subject/explicit_subject.feature
@@ -15,7 +15,7 @@ Feature: explicit subject
end
"""
When I run "rspec ./top_level_subject_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: subject in a nested group
Given a file named "nested_subject_spec.rb" with:
@@ -32,7 +32,7 @@ Feature: explicit subject
end
"""
When I run "rspec ./nested_subject_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: access subject from before block
Given a file named "top_level_subject_spec.rb" with:
@@ -46,7 +46,7 @@ Feature: explicit subject
end
"""
When I run "rspec ./top_level_subject_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: subject using helper method
Given a file named "helper_subject_spec.rb" with:
@@ -64,4 +64,4 @@ Feature: explicit subject
end
"""
When I run "rspec ./helper_subject_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
View
4 features/subject/implicit_subject.feature
@@ -14,7 +14,7 @@ Feature: implicit subject
end
"""
When I run "rspec ./top_level_subject_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Scenario: subject in a nested group
Given a file named "nested_subject_spec.rb" with:
@@ -28,4 +28,4 @@ Feature: implicit subject
end
"""
When I run "rspec ./nested_subject_spec.rb"
- Then I should see "1 example, 0 failures"
+ Then the output should contain "1 example, 0 failures"
Please sign in to comment.
Something went wrong with that request. Please try again.