]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/stories/example_groups/nested_groups
added RSpec and RSpec on Rails
[rails.git] / vendor / gems / rspec-1.1.2 / stories / example_groups / nested_groups
1 Story: Nested example groups
2
3   As an RSpec user
4   I want to nest examples groups
5   So that I can better organize my examples
6
7   Scenario: Run with ruby
8     Given the file ../../examples/pure/stack_spec_with_nested_example_groups.rb
9     When I run it with the ruby interpreter -fs
10     Then the stdout should match /Stack \(empty\)/
11     And the stdout should match /Stack \(full\)/
12
13   Scenario: Run with ruby
14     Given the file ../../examples/pure/stack_spec_with_nested_example_groups.rb
15     When I run it with the spec script -fs
16     Then the stdout should match /Stack \(empty\)/
17     And the stdout should match /Stack \(full\)/