Take the 2-minute tour ×  I have a feature file like this
Feature: search for movies by director  As a movie buff So that
I can find movies with my favorite director I want to include
and serach on director information in movies I enter
Background: movies in database  Given the following movies
exist: | title        | rating | director     | release_date | |
Star Wars    | PG     | George Lucas |   1977-05-25 | | Blade
Runner | PG     | Ridley Scott |   1982-06-25 | | Alien        |
R      |              |   1979-05-25 | | THX-1138     | R      |
George Lucas |   1971-03-11 |  Scenario: add director to
existing movie When I go to the edit page for "Alien" And  I
fill in "Director" with "Ridley Scott" And  I press "Update
Movie Info" Then the director of "Alien" should be "Ridley
Scott"  Now I have a step definition like this which passes the
Given the following movies exist: case.  Given /the following
movies exist/ do |movies_table|   movies_table.hashes.each do
|movie|   But when cucumber runs the step Wh