Sha256: 369137fbb2cc456bccbd8a3c3652e740561f6cd9bf8e1f8c34b001208edc5628
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
##Iam === I'm sure you have similar workflows and user stories across your application: 1. Login as actor 1. Add any item. Prepare it for sale: price = $1.0, type of sale = [Existing in real world], Quantity = 2. 2. Login as actor 2. Add the item to shopping cart. 3. Login as actor 3. Add the item to shopping cart. 4. Login as actor 1 and change the qauntity of the item to 1. 5. Login as actor 2. Go to Shopping Cart. Make checkout. 6. Login as actor 3. Go to Shopping Cart. Make checkout. 7. Login as actor 1. Check the qautity value. But you don't want to click log out, click log in, fill in email and password, click submit again and again, do you? ##Usage Iam enables you to log in as another user in single click. All you need is to: * press ` * click user you want to log in as Also you may log in using user_id (e.g. 42): * press ` * type 42 * press ` ##Installation Add gem to your gemfile: ```ruby gem 'iam', '~> 0.1.1' ``` Add helper to your application layout (after `jQuery`): ```ruby <%= include_iam %> ``` ##License MIT ##Author Yury Kaliada
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iam-0.1.2 | README.md |
iam-0.1.1 | README.md |