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

12 lines
206 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
module SharedAdmin
include Spinach::DSL
2015-04-26 12:48:37 +05:30
step 'there are projects in system' do
2017-08-17 22:00:37 +05:30
2.times { create(:project, :repository) }
2014-09-02 18:07:02 +05:30
end
2015-04-26 12:48:37 +05:30
step 'system has users' do
2014-09-02 18:07:02 +05:30
2.times { create(:user) }
end
end