Skip to content

Instantly share code, notes, and snippets.

@nbessi
Created February 29, 2012 21:23
Show Gist options
  • Save nbessi/1944505 to your computer and use it in GitHub Desktop.
Save nbessi/1944505 to your computer and use it in GitHub Desktop.
Tough on OERPScenario DSL
using https://github.com/rvalyi/ooor/pull/81 in background
Given I find or create by login a ResUsers "admin" with
| key | val |
| partner_id | find by xml_id blabla |
#or
| partner_id | find by name and login! Pinky, daBoss |
and why not
| partner_id | find or create by name and login Pinky, daBoss | # will create a user if not found
or
Given I find or create by xml_id a ResUsers "base.bla" with
| key | val |
| partner_id | find by xml_id blabla |
| name | THE name |
| login | THE login |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment