Sha256: c86683def3daf0d4b86b4bde10a1f886e988813ebe0ee55508014cc8dcd9f6e4

Contents?: true

Size: 760 Bytes

Versions: 4

Compression:

Stored size: 760 Bytes

Contents

Feature: Nested example groups

  As an RSpec user
  I want to nest examples groups
  So that I can better organize my examples

  @wip
  Scenario: Nested example groups
    Given a file named "nested_example_groups.rb" with:
    """
    describe "Some Object" do
      describe "with some more context" do
        it "should do this" do
          true.should be_true
        end
      end
      describe "with some other context" do
        it "should do that" do
          false.should be_false
        end
      end
    end
    """
    When I run "rspec nested_example_groups.rb -fdoc"
    Then the stdout should match /^Some Object/
    And the stdout should match /^\s+with some more context/
    And the stdout should match /^\s+with some other context/

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-core-2.0.0.a9 features/example_groups/nested_groups.feature
rspec-core-2.0.0.a8 features/example_groups/nested_groups.feature
rspec-core-2.0.0.a7 features/example_groups/nested_groups.feature
rspec-core-2.0.0.a6 features/example_groups/nested_groups.feature