Sha256: 5b046f609115393bcbe37ac4a861e2044565c62e9104bf63fccdabbcc5b5e721
Contents?: true
Size: 392 Bytes
Versions: 7
Compression:
Stored size: 392 Bytes
Contents
Given /^I logged in$/ do @user = create(:user) visit '/' fill_in 'user[email]', :with => @user.email fill_in 'user[password]', :with => 'password' click_on 'Log in' end Given("devise masquerade configured to use cache") do Devise.masquerade_storage_method = :cache end Given("devise masquerade configured to use session") do Devise.masquerade_storage_method = :session end
Version data entries
7 entries across 7 versions & 1 rubygems