Skip to content
代码片段 群组 项目
未验证 提交 8e21dc1f 编辑于 作者: Buck O'Leary's avatar Buck O'Leary 提交者: GitLab
浏览文件

Removing redundant factory trait(s)

上级 a2cc7c4f
No related branches found
No related tags found
无相关合并请求
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
context 'when trial has just ended and group is unpaid' do context 'when trial has just ended and group is unpaid' do
before do before do
build(:gitlab_subscription, :ultimate_trial, :expired_trial, :free, namespace: group, build(:gitlab_subscription, :free, :expired_trial, namespace: group,
trial_starts_on: (trial_duration + 5).days.ago, trial_starts_on: (trial_duration + 5).days.ago,
trial_ends_on: 5.days.ago) trial_ends_on: 5.days.ago)
end end
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
context 'when trial ended more than 10 days ago' do context 'when trial ended more than 10 days ago' do
before do before do
build(:gitlab_subscription, :ultimate_trial, :free, :expired_trial, namespace: group, build(:gitlab_subscription, :free, :expired_trial, namespace: group,
trial_starts_on: (trial_duration + 11).days.ago, trial_starts_on: (trial_duration + 11).days.ago,
trial_ends_on: 11.days.ago) trial_ends_on: 11.days.ago)
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册