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

13 lines
194 B
Ruby

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