Skip to content

Commit

Permalink
add failing specs for titles
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Sep 9, 2014
1 parent e305520 commit 8926885
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions features/title.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Feature: Parse names with a title
As a hacker who works with Namae
I want to be able to parse names with a title

Scenario Outline: Names with titles

When I parse the name "<name>"
Then the parts should be:
| given | particle | family | suffix | title | appellation | nick |
| <given> | <particle> | <family> | <suffix> | <title> | <appellation> | <nick> |

@names @title
Scenarios: Names with titles
| name | given | particle | family | suffix | title |
| Bernado Franecki, PhD | Bernado | | Franecki | | PhD |
| Dr. John Smith, Ph.D. | John | | Smith | | Dr. Ph.D. |

0 comments on commit 8926885

Please sign in to comment.