Fixed houndci violations

This commit is contained in:
Gopesh Tulsyan 2014-05-12 17:57:35 +05:30
parent c97affca35
commit d50fd3cc23
2 changed files with 4 additions and 9 deletions

View file

@ -2,13 +2,13 @@
FactoryGirl.define do
factory :user do
sequence(:email) {|n|'name#{n}@example.com'}
sequence(:email) { |n| 'name#{n}@example.com' }
password 'changeme'
password_confirmation 'changeme'
confirmed_at Time.now
end
factory :admin, class: User do
sequence(:email) {|n|'gopesh#{n}@exampleco.in'}
sequence(:email) { |n| 'gopesh#{n}@exampleco.in' }
password 'changeme'
password_confirmation 'changeme'
confirmed_at Time.now