- Normal registered users can search for any deal by title and current location
- Devise for Authentication
- Pundit for Authorization
- Facebook login with omniauth
bin/rake db:seed
An admin can view all users, change their roles or delete user.
- email: admin@gmail.com
- password: password
- email: owner@gmail.com
- password: password
A normal user account can search for deals by place, title and sort by discount.
- email: normal@gmail.com
- password: password
RSpec - Passing