admin.rb 192 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 module SharedAdmin include Spinach::DSL And 'there are projects in system' do 2.times { create(:project) } end And 'system has users' do 2.times { create(:user) } end end