Sha256: 3d48d6320b3a424330b4aab6e0458ee7dcef4662b8075f1561c849c0f6e42c41
Contents?: true
Size: 303 Bytes
Versions: 5
Compression:
Stored size: 303 Bytes
Contents
def sign_in_admin!(user) visit '/admin' fill_in 'Email', :with => user.email fill_in 'Password', :with => user.password click_button 'Login' end def sign_in_as!(user) visit '/login' fill_in 'Email', :with => user.email fill_in 'Password', :with => user.password click_button 'Login' end
Version data entries
5 entries across 5 versions & 2 rubygems