```ruby
require 'aruba/api'

Feature "Display run summary" do
  include Integration::SpinachRunner

  Given "I have a feature that has some successful, undefined, failed and error steps" do
    write_file('features/test_feature.feature',
     'Feature: A test feature

      Scenario: Undefined scenario
        Given I am a fool
        When I jump from Codegrams roof
        Then I must be pwned by floor
     ')
    write_file('features/steps/test_feature.rb',
    'Feature "A test feature" do
      Given "I am a fool" do
      end
      When "I jump from Codegrams roof" do
      end
      Given "I love risk" do
      end
      And "my parachute must open" do
        false
      end
     end')
    @feature = "features/test_feature.feature"
  end

  When "I run it" do
    run_feature @feature
  end

  Then "I should see a summary with steps status information" do
    all_stdout.must_match(
      /Summary:.*2.*Successful.*1.*Undefined.*0.*Failed.*0.*Error/
    )
  end
end


```

Update spinach to take care of some other edge cases. Finalize when undefined step bug is solved
user
```ruby
require 'aruba/api'

Feature "Display run summary" do
  include Integration::SpinachRunner

  Given "I have a feature that has some successful, undefined, failed and error steps" do
    write_file('features/test_feature.feature',
     'Feature: A test feature

      Scenario: Undefined scenario
        Given I am a fool
        When I jump from Codegrams roof
        Then I must be pwned by floor

      # Scenario: Failed scenario
      #   Given I love risk
      #   When I jump from Codegrams roof
      #   Then my parachute must open
      #   Then I must not pwned by floor

      # Scenario: Error scenario
      #   Given I am not a fool
      #   When I go downstairs
      #   Then I must succeed
     ')
    write_file('features/steps/test_feature.rb',
    'Feature "A test feature" do
      Given "I am a fool" do
      end
      When "I jump from Codegrams roof" do
      end
      # Given "I love risk" do
      # end
      # And "my parachute must open" do
      #   false
      # end
      # Given I am a fool
      #   djkadlaksaldkajd
      # end
      # Given I am not a fool
      # end
      # When I go downstairs
      # end
      # Then I must succeed
      #   true
      # end
     end')
    @feature = "features/test_feature.feature"
  end

  When "I run it" do
    run_feature @feature
  end

  Then "I should see a summary with steps status information" do
    all_stdout.must_match(
      /Summary:.*2.*Successful.*1.*Undefined.*0.*Failed.*0.*Error/
    )
  end
end


```
assistant