Skip to content

Instantly share code, notes, and snippets.

@jeremyf
Created March 28, 2014 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyf/9833490 to your computer and use it in GitHub Desktop.
Save jeremyf/9833490 to your computer and use it in GitHub Desktop.
HYDRASIR-275
Feature: Do not create profile pages for new contributors when works are submitted
# https://jira.duraspace.org/browse/HYDRASIR-275
Scenario Outline: Associate with contributor to a person
Given I am an authenticated user
And I am on the <action_name> work page
When I fill out the type ahead search for a contributor
And select a person
And submit a valid form
Then the work I submitted should not create a person
And should link to the selected profile of the person
Examples:
| action_name |
| new |
| edit |
Scenario Outline: Associate with contributor to a name
Given I am an authenticated user
And I am on the <action_name> work page
When I fill out the type ahead search for a contributor
And do not select a person
And submit a valid form
Then the work I submitted should not create a person
And should list the name of the person
Examples:
| action_name |
| new |
| edit |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment