Sha256: 06a78eac7c47ad5741e15b3c95743e0b20a4a4ae2eb5e7498df42627c2f0d718

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

module AdminLoginIntegrationHelper
  def admin_login_as(admin_user = Factory(:admin_user))
    visit '/admin/login'
    fill_in 'admin_user_email', :with => admin_user.email
    fill_in 'admin_user_password', :with => 'BaudP0wer!'
    click_button 'Login'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activeadmin_associations-0.1.3 spec/support/admin_login_integration_helper.rb