Files
gitlabhq/features/steps/shared/admin.rb
T

20 lines
328 B
Ruby

module SharedAdmin
include Spinach::DSL
And 'there are projects in system' do
2.times { create(:project) }
end
And 'system has users' do
2.times { create(:user) }
end
And 'there are groups with projects' do
2.times do
group = create :group
create :project, group: group
end
end
end