Sha256: 045b600d0aff7e4ffa9ddf6b5e090d4e748c42a95e13503bb7628d3ff2eb5543

Contents?: true

Size: 197 Bytes

Versions: 8

Compression:

Stored size: 197 Bytes

Contents

def login_admin
  visit '/admin'
  within("#session_new") do
    fill_in 'user_email', :with => 'admin@example.com'
    fill_in 'user_password', :with => 'password'
  end
  click_button 'Login'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activeadmin-selleo-cms-0.0.23 spec/support/login_helper.rb
activeadmin-selleo-cms-0.0.22 spec/support/login_helper.rb
activeadmin-selleo-cms-0.0.21 spec/support/login_helper.rb
activeadmin-selleo-cms-0.0.20 spec/support/login_helper.rb
activeadmin-selleo-cms-0.0.18 spec/support/login_helper.rb
activeadmin-selleo-cms-0.0.17 spec/support/login_helper.rb
activeadmin-selleo-cms-0.0.16 spec/support/login_helper.rb
activeadmin-selleo-cms-0.0.14 spec/support/login_helper.rb