I am just starting with any testing really, but I chose this post as a
tutorial.
http://www.ultrasaurus.com/sarahblog/2008/12/rails-2-day-3-behavior-driven-development/comment-page-1/#comment-454
I have WinXP, so I had to install one more gem for the colors.
After making my first features/tasklist.feature file which is:
Feature: Tasks
In order to keep track of tasks
People should be able to
Create a list of tasks
Scenario: List Tasks
Given that I have created a task “task 1”
When I go to the tasks page
Then I should see “task 1”
After this I run the:
rake features
and you won’t believe what happened!
Take a look at the result:
The ‘a’ letters ARE MISSING!!!
Any ideas?