Commit a16ace92 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rs-fix-stubbed-user-factory' into 'master'

Manually assign `notification_email` in the User factory when stubbed

See merge request !13395
parents 3a9f210b 76544283
......@@ -8,6 +8,10 @@ FactoryGirl.define do
confirmation_token { nil }
can_create_group true
after(:stub) do |user|
user.notification_email = user.email
end
before(:create) do |user|
user.ensure_rss_token
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment