This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row new_register"> | |
<%= flash_messages %> | |
<%= simple_form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => 'new_box_1 sign_in large-5 push-1 columns'}) do |f| %> | |
<h6>Registered users <b>login</b> here</h6> | |
<h5>If you are already registered, enter your details and login below.</h5> | |
<%= f.input :email, :required => false, :autofocus => true, :label => false, :placeholder => "EMAIL", :input_html => { :class => 'prefer' } %> | |
<%= f.input :password, :required => false, :label => false, :placeholder => "PASSWORD", :input_html => { :class => 'prefer' } %> | |
<%= f.input :remember_me, :as => :boolean if devise_mapping.rememberable? %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
feature 'Visitor signs up', :js => true do | |
scenario 'with valid details' do | |
visit root_path | |
find('#connect_id').hover |