debian-mirror-gitlab/features/steps/shared/admin.rb

12 lines
193 B
Ruby
Raw Normal View History

2014-09-02 14:37:02 +02:00
module SharedAdmin
include Spinach::DSL
2015-04-26 09:18:37 +02:00
step 'there are projects in system' do
2014-09-02 14:37:02 +02:00
2.times { create(:project) }
end
2015-04-26 09:18:37 +02:00
step 'system has users' do
2014-09-02 14:37:02 +02:00
2.times { create(:user) }
end
end