gitlab-org--gitlab-foss/features/steps/shared/admin.rb

12 lines
206 B
Ruby

module SharedAdmin
include Spinach::DSL
step 'there are projects in system' do
2.times { create(:project, :repository) }
end
step 'system has users' do
2.times { create(:user) }
end
end