some basic tests for admin/users controller, fixed bug in admin/users controller for displaying users

Fixes by hounci violations
This commit is contained in:
Gopesh Tulsyan 2014-05-12 19:30:36 +05:30
parent 7573a19240
commit f84f3b97a7
7 changed files with 64 additions and 6 deletions

View file

@ -2,7 +2,7 @@
FactoryGirl.define do
factory :user do
email 'example@example.com'
sequence(:email) { |n| "example#{n}@example.com" }
password 'changeme'
password_confirmation 'changeme'
confirmed_at Time.now