codegram/spinach — Issue #66: The README exaple doesn't go green
Author: lgs
Created: 2011-11-02 10:41:28+00:00
State: open

Hi, in the README of https://github.com/codegram/spinach, at the end of "Getting started" section you say:

Then run your feature again running spinach and watch it all turn green! :)

but following the readme I get :

lsoave@ubuntu:~/rails/github/gitwatcher$ spinach

Feature: Test how spinach works

Scenario: Formal greeting
✔ Given I have an empty array # features/steps/test_how_spinach_works.rb:2
✔ And I append my first name and my last name to it # features/steps/test_how_spinach_works.rb:6
! When I pass it to my super-duper method
~ Then the output should contain a formal greeting

uninitialized constant TestHowSpinachWorks::StreamIO
/home/lsoave/rails/github/gitwatcher/features/steps/test_how_spinach_works.rb:31:in `capture_output'

Scenario: Informal greeting
✔ Given I have an empty array # features/steps/test_how_spinach_works.rb:2
✔ And I append only my first name to it # features/steps/test_how_spinach_works.rb:20
! When I pass it to my super-duper method
~ Then the output should contain a casual greeting

uninitialized constant TestHowSpinachWorks::StreamIO
/home/lsoave/rails/github/gitwatcher/features/steps/test_how_spinach_works.rb:31:in `capture_output'

Error summary:
Errors (2)
Test how spinach works :: Formal greeting :: When I pass it to my super-duper method
Test how spinach works :: Informal greeting :: When I pass it to my super-duper method

Steps Summary: (4) Successful, (0) Undefined, (0) Failed, (2) Error

lsoave@ubuntu:~/rails/github/gitwatcher$