Skip to content

Instantly share code, notes, and snippets.

@mikelietz
Created March 21, 2011 04:18
Show Gist options
  • Select an option

  • Save mikelietz/879004 to your computer and use it in GitHub Desktop.

Select an option

Save mikelietz/879004 to your computer and use it in GitHub Desktop.
@test_connection @unit_db @cluster_db @cluster_unit_db @item_db
Scenario: Visit page to create new unit # ./builder/unit_create.feature:14
Given there is one cluster named "Cluster 1" # step_definitions/webrat_steps.rb:70
And there is one item in the mongo items collection with the uid "pat-r-c-02-01" and the stem "Amy does not like" # step_definitions/webrat_steps.rb:91
And there is one item in the mongo items collection with the uid "pat-r-c-02-03" and the stem "Who likes chicken legs?" # step_definitions/webrat_steps.rb:91
When I am on the new unit page # step_definitions/webrat_steps.rb:16
Then I should see "Add New Unit" # step_definitions/webrat_steps.rb:367
And I should see the "name" text field # step_definitions/webrat_steps.rb:343
And I should see the "description" textarea field # step_definitions/webrat_steps.rb:355
And I should see the "Save Changes" submit button # step_definitions/webrat_steps.rb:359
And within the element with id "unattached-children" I should see "Amy does not like" # step_definitions/webrat_steps.rb:433
The scope was not found on the page: "#unattached-children" (Webrat::NotFoundError)
./step_definitions/webrat_steps.rb:434:in `/^within the element with id "(.*)" I should see "(.*)"$/'
./builder/unit_create.feature:25:in `And within the element with id "unattached-children" I should see "Amy does not like"'
And within the element with id "unattached-children" I should see "Who likes chicken legs?" # step_definitions/webrat_steps.rb:433
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment