Skip to content

Commit

Permalink
make test users confirmed by deafult
Browse files Browse the repository at this point in the history
  • Loading branch information
corinnaj committed Jun 8, 2018
1 parent f00f1d5 commit 19e1f06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/factories/users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
sequence(:email) { |n| "test@example#{n}.com" }
password "test123"
role :pupil
confirmed_at Time.now
factory :user_with_profile do
after(:build) do |user|
build(:profile, user: user)
Expand Down

0 comments on commit 19e1f06

Please sign in to comment.