diff options
author | Vladimir Shushlin <vshushlin@gitlab.com> | 2019-04-30 15:05:54 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-04-30 15:05:54 +0300 |
commit | ac744fd4fceb996dcafe7958dd35b081331f46fe (patch) | |
tree | eba5a21f6e074b2c83141dda4999034b3b7aec93 /spec/factories/pages_domains.rb | |
parent | 9e2958aed9fb634801d57acd2bd6f4500dec012e (diff) |
Remove disabled pages domains
Domain will be removed by verification worker after 1 week
of being disabled
Diffstat (limited to 'spec/factories/pages_domains.rb')
-rw-r--r-- | spec/factories/pages_domains.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/pages_domains.rb b/spec/factories/pages_domains.rb index b74f72f2bd3..db8384877b0 100644 --- a/spec/factories/pages_domains.rb +++ b/spec/factories/pages_domains.rb @@ -45,6 +45,10 @@ nNp/xedE1YxutQ== remove_at { 1.day.from_now } end + trait :should_be_removed do + remove_at { 1.day.ago } + end + trait :unverified do verified_at nil end |