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:
parent
7573a19240
commit
f84f3b97a7
7 changed files with 64 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue