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

12 lines
193 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
2014-09-02 18:07:02 +05:30
2.times { create(:project) }
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