gitlabhq/features/steps/shared/authentication.rb

15 lines
260 B
Ruby
Raw Normal View History

2012-09-10 17:35:03 +02:00
require Rails.root.join('spec', 'support', 'login_helpers')
module SharedAuthentication
include Spinach::DSL
include LoginHelpers
Given 'I sign in as a user' do
login_as :user
end
Given 'I sign in as an admin' do
login_as :admin
end
2012-09-10 17:35:03 +02:00
end