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

12 lines
193 B
Ruby
Raw Normal View History

2013-01-09 00:14:05 -05:00
module SharedAdmin
include Spinach::DSL
step 'there are projects in system' do
2013-01-09 00:14:05 -05:00
2.times { create(:project) }
end
2013-01-09 12:38:27 -05:00
step 'system has users' do
2013-01-09 12:38:27 -05:00
2.times { create(:user) }
end
2013-01-09 00:14:05 -05:00
end