summaryrefslogtreecommitdiff
path: root/features/steps/group/group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/group/group.rb')
-rw-r--r--features/steps/group/group.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb
index 51581a1ec7b..4de260ec33e 100644
--- a/features/steps/group/group.rb
+++ b/features/steps/group/group.rb
@@ -9,9 +9,9 @@ class Groups < Spinach::FeatureSteps
end
And 'I have group with projects' do
- @group = Factory :group
- @project = Factory :project, group: @group
- @event = Factory :closed_issue_event, project: @project
+ @group = create(:group)
+ @project = create(:project, group: @group)
+ @event = create(:closed_issue_event, project: @project)
@project.add_access current_user, :admin
end