<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,5 +2,4 @@ test/rails_root/log/*.log
 *.DS_Store
 *.swp
 .rake_tasks
-test/rails_root/vendor/plugins
-test/rails_root/db/migrate
+test/rails_root/*</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -11,11 +11,11 @@ namespace :test do
     task.pattern = test_files_pattern
     task.verbose = false
   end
-  
+
   Cucumber::Rake::Task.new(:features) do |t|
     t.cucumber_opts = &quot;--format pretty&quot;
     t.feature_pattern = 'test/rails_root/features/*.feature'
-  end  
+  end
 end
 
 generators = %w(clearance clearance_features)
@@ -27,17 +27,17 @@ namespace :generator do
       FileList[&quot;generators/#{generator}/templates/**/*.*&quot;].each do |each|
         file = &quot;test/rails_root/#{each.gsub(&quot;generators/#{generator}/templates/&quot;,'')}&quot;
         File.delete(file) if File.exists?(file)
-      end    
+      end
     end
-    
+
     FileList[&quot;test/rails_root/db/**/*&quot;].each do |each| 
       FileUtils.rm_rf(each)
     end
     FileUtils.rm_rf(&quot;test/rails_root/vendor/plugins/clearance&quot;)
     system &quot;mkdir -p test/rails_root/vendor/plugins/clearance&quot;
-    system &quot;cp -R generators test/rails_root/vendor/plugins/clearance&quot;  
+    system &quot;cp -R generators test/rails_root/vendor/plugins/clearance&quot;
   end
-  
+
   desc &quot;Run the generator on the tests&quot;
   task :generate do
     generators.each do |generator|</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -74,7 +74,7 @@ module Clearance
           def deny_access(flash_message = nil, opts = {})
             store_location
             flash[:failure] = flash_message if flash_message
-            render :template =&gt; &quot;/sessions/new&quot;, :status =&gt; :unauthorized 
+            render :template =&gt; &quot;/sessions/new&quot;, :status =&gt; :unauthorized
           end
         end
 </diff>
      <filename>lib/clearance/app/controllers/application_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,19 +2,19 @@ module Clearance
   module App
     module Controllers
       module ConfirmationsController
-    
+
         def self.included(controller)
           controller.send(:include, Actions)
           controller.send(:include, PrivateMethods)
-          
+
           controller.class_eval do
             before_filter :forbid_confirmed_user,    :only =&gt; :new
             before_filter :forbid_missing_token,     :only =&gt; :new
             before_filter :forbid_non_existant_user, :only =&gt; :new
-            filter_parameter_logging :token    
+            filter_parameter_logging :token
           end
         end
-        
+
         module Actions
           def new
             create
@@ -23,29 +23,29 @@ module Clearance
           def create
             @user = User.find_by_id_and_token(params[:user_id], params[:token])
             @user.confirm_email!
-            
+
             sign_user_in(@user)
             flash[:success] = &quot;Confirmed email and signed in.&quot;
             redirect_to url_after_create
           end
         end
-        
+
         module PrivateMethods
           private
-          
+
           def forbid_confirmed_user
             user = User.find_by_id(params[:user_id])
             if user &amp;&amp; user.email_confirmed?
               raise ActionController::Forbidden, &quot;confirmed user&quot;
             end
           end
-          
+
           def forbid_missing_token
             if params[:token].blank?
               raise ActionController::Forbidden, &quot;missing token&quot;
             end
           end
-          
+
           def forbid_non_existant_user
             unless User.find_by_id_and_token(params[:user_id], params[:token])
               raise ActionController::Forbidden, &quot;non-existant user&quot;
@@ -56,7 +56,7 @@ module Clearance
             root_url
           end
         end
-        
+
       end
     end
   end</diff>
      <filename>lib/clearance/app/controllers/confirmations_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,7 @@ module Clearance
 
         module Actions
           def create
-            @user = User.authenticate(params[:session][:email], 
+            @user = User.authenticate(params[:session][:email],
                                       params[:session][:password])
             if @user.nil?
               flash.now[:notice] = &quot;Bad email or password.&quot;
@@ -50,7 +50,7 @@ module Clearance
 
           def remember(user)
             user.remember_me!
-            cookies[:remember_token] = { :value   =&gt; user.token, 
+            cookies[:remember_token] = { :value   =&gt; user.token,
                                          :expires =&gt; user.token_expires_at }
           end
 </diff>
      <filename>lib/clearance/app/controllers/sessions_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,13 +6,13 @@ module Clearance
         def self.included(controller)
           controller.send(:include, Actions)
           controller.send(:include, PrivateMethods)
-          
+
           controller.class_eval do
             before_filter :redirect_to_root, :only =&gt; [:new, :create], :if =&gt; :signed_in?
-            filter_parameter_logging :password      
+            filter_parameter_logging :password
           end
         end
-        
+
         module Actions
           def new
             @user = User.new(params[:user])
@@ -30,10 +30,10 @@ module Clearance
             end
           end
         end
-        
+
         module PrivateMethods
           private
-          
+
           def url_after_create
             new_session_url
           end</diff>
      <filename>lib/clearance/app/controllers/users_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ module Clearance
   module App
     module Models
       module ClearanceMailer
-        
+
         def change_password(user)
           from       DO_NOT_REPLY
           recipients user.email
@@ -16,7 +16,7 @@ module Clearance
           subject   &quot;Account confirmation&quot;
           body      :user =&gt; user
         end
-        
+
       end
     end
   end</diff>
      <filename>lib/clearance/app/models/clearance_mailer.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,12 +10,12 @@ module Clearance
 
             context &quot;a user whose email has not been confirmed&quot; do
               setup { @user = Factory(:user) }
-              
+
               should &quot;have a token&quot; do
                 assert_not_nil @user.token
                 assert_not_equal &quot;&quot;, @user.token
               end
-              
+
               context &quot;on GET to #new with correct id and token&quot; do
                 setup do
                   get :new, :user_id =&gt; @user.to_param, :token =&gt; @user.token
@@ -28,20 +28,20 @@ module Clearance
               end
 
               context &quot;with an incorrect token&quot; do
-                setup do 
+                setup do
                   @bad_token = &quot;bad token&quot;
                   assert_not_equal @bad_token, @user.token
                 end
-                
+
                 should_forbid &quot;on GET to #new with incorrect token&quot; do
                   get :new, :user_id =&gt; @user.to_param, :token =&gt; @bad_token
                 end
               end
-              
+
               should_forbid &quot;on GET to #new with blank token&quot; do
                 get :new, :user_id =&gt; @user.to_param, :token =&gt; &quot;&quot;
               end
-              
+
               should_forbid &quot;on GET to #new with no token&quot; do
                 get :new, :user_id =&gt; @user.to_param
               end
@@ -57,7 +57,7 @@ module Clearance
 
             context &quot;no users&quot; do
               setup { assert_equal 0, User.count }
-              
+
               should_forbid &quot;on GET to #new with nonexistent id and token&quot; do
                 get :new, :user_id =&gt; '123', :token =&gt; '123'
               end</diff>
      <filename>lib/clearance/test/functional/confirmations_controller_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@ module Clearance
         def self.included(controller_test)
           controller_test.class_eval do
 
-            should_route :get, '/users/1/password/edit', 
+            should_route :get, '/users/1/password/edit',
               :action  =&gt; 'edit', :user_id =&gt; '1'
 
             context &quot;a signed up user&quot; do
@@ -27,9 +27,9 @@ module Clearance
                     ActionMailer::Base.deliveries.clear
                     post :create, :password =&gt; { :email =&gt; @user.email }
                   end
-                  
+
                   should &quot;generate a token for the change your password email&quot; do
-                    assert_not_nil @user.reload.token                                   
+                    assert_not_nil @user.reload.token
                   end
 
                   should &quot;send the change your password email&quot; do
@@ -37,7 +37,7 @@ module Clearance
                       email.subject =~ /change your password/i
                     end
                   end
-                  
+
                   should_set_the_flash_to /password/i
                   should_redirect_to_url_after_create
                 end
@@ -51,15 +51,15 @@ module Clearance
 
                     post :create, :password =&gt; { :email =&gt; email }
                   end
-                  
+
                   should &quot;not generate a token for the change your password email&quot; do
-                    assert_equal @user.token, @user.reload.token                                   
-                  end                  
+                    assert_equal @user.token, @user.reload.token
+                  end
 
                   should &quot;not send a password reminder email&quot; do
                     assert ActionMailer::Base.deliveries.empty?
                   end
-                  
+
                   should &quot;set a :notice flash&quot; do
                     assert_not_nil flash.now[:notice]
                   end
@@ -68,41 +68,41 @@ module Clearance
                 end
               end
             end
-            
+
             context &quot;a signed up user and forgotten password&quot; do
               setup do
                 @user = Factory(:user)
                 @user.forgot_password!
               end
-              
+
               context &quot;on GET to #edit with correct id and token&quot; do
                 setup do
                   get :edit, :user_id =&gt; @user.to_param, :token =&gt; @user.token
                 end
-              
+
                 should &quot;find the user&quot; do
                   assert_equal @user, assigns(:user)
                 end
-              
+
                 should_respond_with :success
                 should_render_template &quot;edit&quot;
                 should_display_a_password_update_form
               end
-              
+
               should_forbid &quot;on GET to #edit with correct id but blank token&quot; do
                 get :edit, :user_id =&gt; @user.to_param, :token =&gt; &quot;&quot;
               end
-              
+
               should_forbid &quot;on GET to #edit with correct id but no token&quot; do
                 get :edit, :user_id =&gt; @user.to_param
               end
-              
+
               context &quot;on PUT to #update with matching password and password confirmation&quot; do
                 setup do
                   new_password = &quot;new_password&quot;
                   @encrypted_new_password = @user.encrypt(new_password)
                   assert_not_equal @encrypted_new_password, @user.encrypted_password
-              
+
                   put(:update,
                       :user_id  =&gt; @user,
                       :token    =&gt; @user.token,
@@ -112,24 +112,24 @@ module Clearance
                       })
                   @user.reload
                 end
-              
+
                 should &quot;update password&quot; do
                   assert_equal @encrypted_new_password, @user.encrypted_password
                 end
-                
+
                 should &quot;clear token&quot; do
                   assert_nil @user.token
-                end                    
-              
+                end
+
                 should_be_signed_in_as { @user }
                 should_redirect_to_url_after_update
               end
-              
+
               context &quot;on PUT to #update with password but blank password confirmation&quot; do
                 setup do
                   new_password = &quot;new_password&quot;
                   @encrypted_new_password = @user.encrypt(new_password)
-              
+
                   put(:update,
                       :user_id =&gt; @user.to_param,
                       :token   =&gt; @user.token,
@@ -139,27 +139,27 @@ module Clearance
                       })
                   @user.reload
                 end
-              
+
                 should &quot;not update password&quot; do
                   assert_not_equal @encrypted_new_password, @user.encrypted_password
                 end
-                
+
                 should &quot;not clear token&quot; do
                   assert_not_nil @user.token
-                end                    
-              
+                end
+
                 should_not_be_signed_in
                 should_respond_with    :success
                 should_render_template :edit
-                
-                should_display_a_password_update_form                       
+
+                should_display_a_password_update_form
               end
-              
+
               should_forbid &quot;on PUT to #update with id but no token&quot; do
                 put :update, :user_id =&gt; @user.to_param, :token =&gt; &quot;&quot;
               end
             end
-            
+
             context &quot;given two users and user one signs in&quot; do
               setup do
                 @user_one = Factory(:user)
@@ -170,7 +170,7 @@ module Clearance
               should_forbid &quot;when user one tries to change user two's password on GET with no token&quot; do
                 get :edit, :user_id =&gt; @user_two.to_param
               end
-            end  
+            end
           end
         end
 </diff>
      <filename>lib/clearance/test/functional/passwords_controller_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -46,8 +46,8 @@ module Clearance
 
               context &quot;a POST to #create with good credentials&quot; do
                 setup do
-                  post :create, :session =&gt; { 
-                                  :email    =&gt; @user.email, 
+                  post :create, :session =&gt; {
+                                  :email    =&gt; @user.email,
                                   :password =&gt; @user.password }
                 end
 
@@ -58,8 +58,8 @@ module Clearance
 
               context &quot;a POST to #create with bad credentials&quot; do
                 setup do
-                  post :create, :session =&gt; { 
-                                  :email    =&gt; @user.email, 
+                  post :create, :session =&gt; {
+                                  :email    =&gt; @user.email,
                                   :password =&gt; &quot;bad value&quot; }
                 end
 
@@ -71,9 +71,9 @@ module Clearance
 
               context &quot;a POST to #create with good credentials and remember me&quot; do
                 setup do
-                  post :create, :session =&gt; { 
-                                  :email       =&gt; @user.email, 
-                                  :password    =&gt; @user.password, 
+                  post :create, :session =&gt; {
+                                  :email       =&gt; @user.email,
+                                  :password    =&gt; @user.password,
                                   :remember_me =&gt; '1' }
                 end
 
@@ -93,9 +93,9 @@ module Clearance
 
               context &quot;a POST to #create with bad credentials and remember me&quot; do
                 setup do
-                  post :create, :session =&gt; { 
-                                  :email       =&gt; @user.email, 
-                                  :password    =&gt; &quot;bad value&quot;, 
+                  post :create, :session =&gt; {
+                                  :email       =&gt; @user.email,
+                                  :password    =&gt; &quot;bad value&quot;,
                                   :remember_me =&gt; '1' }
                 end
 
@@ -128,8 +128,8 @@ module Clearance
 
                 context &quot;in the request&quot; do
                   setup do
-                    post :create, :session =&gt; { 
-                                    :email =&gt; @user.email, 
+                    post :create, :session =&gt; {
+                                    :email =&gt; @user.email,
                                     :password =&gt; @user.password },
                                     :return_to =&gt; '/url_in_the_request'
                   end
@@ -140,8 +140,8 @@ module Clearance
                 context &quot;in the request and in the session&quot; do
                   setup do
                     @request.session[:return_to] = '/url_in_the_session'
-                    post :create, :session =&gt; { 
-                                    :email    =&gt; @user.email, 
+                    post :create, :session =&gt; {
+                                    :email    =&gt; @user.email,
                                     :password =&gt; @user.password },
                                     :return_to =&gt; '/url_in_the_request'
                   end</diff>
      <filename>lib/clearance/test/functional/sessions_controller_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,20 +5,20 @@ module Clearance
 
         def self.included(controller_test)
           controller_test.class_eval do
-            
+
             should_filter_params :password
-            
+
             public_context do
               context &quot;When getting new User view&quot; do
                 setup { get :new }
-                
+
                 should_respond_with :success
                 should_render_template :new
                 should_not_set_the_flash
-                
+
                 should_display_a_sign_up_form
               end
-              
+
               context &quot;Given email parameter when getting new User view&quot; do
                 setup do
                   @email = &quot;a@example.com&quot;
@@ -35,7 +35,7 @@ module Clearance
                   user_attributes = Factory.attributes_for(:user)
                   post :create, :user =&gt; user_attributes
                 end
-            
+
                 should_create_user_successfully
               end
             end
@@ -51,7 +51,7 @@ module Clearance
                 should_redirect_to &quot;root_url&quot;
               end
             end
-          
+
           end
         end
       end</diff>
      <filename>lib/clearance/test/functional/users_controller_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,10 +2,10 @@ module Clearance
   module Test
     module Unit
       module ClearanceMailerTest
-  
+
         def self.included(mailer_test)
           mailer_test.class_eval do
-            
+
             context &quot;A change password email&quot; do
               setup do
                 @user  = Factory(:user)
@@ -30,7 +30,7 @@ module Clearance
                 assert_match /Change your password/, @email.subject
               end
             end
-            
+
             context &quot;A confirmation email&quot; do
               setup do
                 @user  = Factory(:user)
@@ -55,11 +55,11 @@ module Clearance
                 assert_match regexp, @email.body
               end
             end
-          
+
           end
         end
 
       end
-    end  
+    end
   end
 end</diff>
      <filename>lib/clearance/test/unit/clearance_mailer_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,8 +6,8 @@ module Clearance
         def self.included(unit_test)
           unit_test.class_eval do
 
-            should_not_allow_mass_assignment_of :email_confirmed, 
-              :salt, :encrypted_password, 
+            should_not_allow_mass_assignment_of :email_confirmed,
+              :salt, :encrypted_password,
               :token, :token_expires_at
 
             # signing up
@@ -19,9 +19,9 @@ module Clearance
               should_not_allow_values_for :email, &quot;example.com&quot;
 
               should &quot;require password confirmation on create&quot; do
-                user = Factory.build(:user, :password              =&gt; 'blah', 
+                user = Factory.build(:user, :password              =&gt; 'blah',
                                             :password_confirmation =&gt; 'boogidy')
-                assert !user.save
+                assert ! user.save
                 assert user.errors.on(:password)
               end
 
@@ -121,13 +121,13 @@ module Clearance
               end
 
               should &quot;remember user when token expires in the future&quot; do
-                @user.update_attribute :token_expires_at, 
+                @user.update_attribute :token_expires_at,
                   2.weeks.from_now.utc
                 assert @user.remember?
               end
 
               should &quot;not remember user when token has already expired&quot; do
-                @user.update_attribute :token_expires_at, 
+                @user.update_attribute :token_expires_at,
                   2.weeks.ago.utc
                 assert ! @user.remember?
               end
@@ -167,7 +167,7 @@ module Clearance
                 end
 
                 should &quot;change encrypted password&quot; do
-                  assert_not_equal @user.encrypted_password, 
+                  assert_not_equal @user.encrypted_password,
                                    @old_encrypted_password
                 end
               end
@@ -199,7 +199,7 @@ module Clearance
                     end
 
                     should &quot;change encrypted password&quot; do
-                      assert_not_equal @user.encrypted_password, 
+                      assert_not_equal @user.encrypted_password,
                                        @old_encrypted_password
                     end
 </diff>
      <filename>lib/clearance/test/unit/user_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-module Clearance 
+module Clearance
   module Shoulda
 
     # STATE OF AUTHENTICATION
@@ -6,25 +6,25 @@ module Clearance
     def should_be_signed_in_as(&amp;block)
       should &quot;be signed in as #{block.bind(self).call}&quot; do
         user = block.bind(self).call
-        assert_not_nil user, 
+        assert_not_nil user,
           &quot;please pass a User. try: should_be_signed_in_as { @user }&quot;
-        assert_equal user.id,   session[:user_id], 
+        assert_equal user.id,   session[:user_id],
           &quot;session[:user_id] is not set to User's id&quot;
       end
     end
 
     def should_be_signed_in_and_email_confirmed_as(&amp;block)
       should_be_signed_in_as &amp;block
-      
+
       should &quot;have confirmed email&quot; do
         user = block.bind(self).call
-        
+
         assert_not_nil user
         assert_equal user, assigns(:user)
         assert assigns(:user).email_confirmed?
       end
     end
-    
+
     def should_not_be_signed_in
       should &quot;not be signed in&quot; do
         assert_nil session[:user_id]
@@ -44,17 +44,17 @@ module Clearance
       else
         should_not_set_the_flash
       end
-      
+
       should &quot;respond with 401 Unauthorized and render sign_in template&quot; do
-        assert_response :unauthorized, 
+        assert_response :unauthorized,
           &quot;access was expected to be denied (401 unauthorized)&quot;
         assert_template &quot;sessions/new&quot;,
           &quot;template was expected to be sign in (sessions/new)&quot;
       end
     end
-    
+
     # HTTP FLUENCY
-    
+
     def should_forbid(description, &amp;block)
       should &quot;forbid #{description}&quot; do
         assert_raises ActionController::Forbidden do
@@ -62,7 +62,7 @@ module Clearance
         end
       end
     end
-    
+
     # CONTEXTS
 
     def signed_in_user_context(&amp;blk)
@@ -82,65 +82,65 @@ module Clearance
         merge_block(&amp;blk)
       end
     end
-    
+
     # CREATING USERS
-    
+
     def should_create_user_successfully
       should_assign_to :user
       should_change 'User.count', :by =&gt; 1
-      
+
       should &quot;send the confirmation email&quot; do
         assert_sent_email do |email|
           email.subject =~ /account confirmation/i
         end
       end
-      
+
       should_set_the_flash_to /confirm/i
       should_redirect_to_url_after_create
     end
-    
+
     # RENDERING
-    
+
     def should_render_nothing
       should &quot;render nothing&quot; do
         assert @response.body.blank?
       end
     end
-    
+
     # REDIRECTS
-    
+
     def should_redirect_to_url_after_create
       should_redirect_to &quot;@controller.send(:url_after_create)&quot;
     end
-    
+
     def should_redirect_to_url_after_update
       should_redirect_to &quot;@controller.send(:url_after_update)&quot;
     end
-    
+
     def should_redirect_to_url_after_destroy
       should_redirect_to &quot;@controller.send(:url_after_destroy)&quot;
     end
-    
+
     # VALIDATIONS
-    
+
     def should_validate_confirmation_of(attribute, opts = {})
       raise ArgumentError if opts[:factory].nil?
-      
-      context &quot;on save&quot; do  
+
+      context &quot;on save&quot; do
         should_validate_confirmation_is_not_blank opts[:factory], attribute
         should_validate_confirmation_is_not_bad   opts[:factory], attribute
       end
     end
-    
+
     def should_validate_confirmation_is_not_blank(factory, attribute, opts = {})
       should &quot;validate #{attribute}_confirmation is not blank&quot; do
         model = Factory.build(factory, blank_confirmation_options(attribute))
         model.save
-        assert_confirmation_error(model, attribute, 
+        assert_confirmation_error(model, attribute,
           &quot;#{attribute}_confirmation cannot be blank&quot;)
       end
     end
-    
+
     def should_validate_confirmation_is_not_bad(factory, attribute, opts = {})
       should &quot;validate #{attribute}_confirmation is different than #{attribute}&quot; do
         model = Factory.build(factory, bad_confirmation_options(attribute))
@@ -149,9 +149,9 @@ module Clearance
           &quot;#{attribute}_confirmation cannot be different than #{attribute}&quot;)
       end
     end
-    
+
     # FORMS
-    
+
     def should_display_a_password_update_form
       should &quot;have a form for the user's token, password, and password confirm&quot; do
         update_path = ERB::Util.h(
@@ -163,39 +163,39 @@ module Clearance
           assert_select 'input[name=?]', 'user[password]'
           assert_select 'input[name=?]', 'user[password_confirmation]'
         end
-      end      
+      end
     end
-    
+
     def should_display_a_sign_up_form
       should &quot;display a form to sign up&quot; do
-        assert_select &quot;form[action=#{users_path}][method=post]&quot;, 
+        assert_select &quot;form[action=#{users_path}][method=post]&quot;,
         true, &quot;There must be a form to sign up&quot; do
-          assert_select &quot;input[type=text][name=?]&quot;, 
+          assert_select &quot;input[type=text][name=?]&quot;,
             &quot;user[email]&quot;, true, &quot;There must be an email field&quot;
-          assert_select &quot;input[type=password][name=?]&quot;, 
+          assert_select &quot;input[type=password][name=?]&quot;,
             &quot;user[password]&quot;, true, &quot;There must be a password field&quot;
-          assert_select &quot;input[type=password][name=?]&quot;, 
-            &quot;user[password_confirmation]&quot;, true, &quot;There must be a password confirmation field&quot;                      
-          assert_select &quot;input[type=submit]&quot;, true, 
+          assert_select &quot;input[type=password][name=?]&quot;,
+            &quot;user[password_confirmation]&quot;, true, &quot;There must be a password confirmation field&quot;
+          assert_select &quot;input[type=submit]&quot;, true,
             &quot;There must be a submit button&quot;
         end
-      end    
+      end
     end
-    
-    def should_display_a_sign_in_form 
+
+    def should_display_a_sign_in_form
       should 'display a &quot;sign in&quot; form' do
-        assert_select &quot;form[action=#{session_path}][method=post]&quot;, 
+        assert_select &quot;form[action=#{session_path}][method=post]&quot;,
           true, &quot;There must be a form to sign in&quot; do
-            assert_select &quot;input[type=text][name=?]&quot;, 
+            assert_select &quot;input[type=text][name=?]&quot;,
               &quot;session[email]&quot;, true, &quot;There must be an email field&quot;
-            assert_select &quot;input[type=password][name=?]&quot;, 
+            assert_select &quot;input[type=password][name=?]&quot;,
               &quot;session[password]&quot;, true, &quot;There must be a password field&quot;
-            assert_select &quot;input[type=checkbox][name=?]&quot;, 
+            assert_select &quot;input[type=checkbox][name=?]&quot;,
               &quot;session[remember_me]&quot;, true, &quot;There must be a 'remember me' check box&quot;
-            assert_select &quot;input[type=submit]&quot;, true, 
+            assert_select &quot;input[type=submit]&quot;, true,
               &quot;There must be a submit button&quot;
-        end                
-      end        
+        end
+      end
     end
   end
 end
@@ -212,22 +212,22 @@ module Clearance
         return user
       end
 
-      def sign_out 
+      def sign_out
         @request.session[:user_id] = nil
       end
-      
+
       def blank_confirmation_options(attribute)
         opts = { attribute =&gt; attribute.to_s }
         opts.merge(&quot;#{attribute}_confirmation&quot;.to_sym =&gt; &quot;&quot;)
       end
-      
+
       def bad_confirmation_options(attribute)
         opts = { attribute =&gt; attribute.to_s }
         opts.merge(&quot;#{attribute}_confirmation&quot;.to_sym =&gt; &quot;not_#{attribute}&quot;)
       end
-      
+
       def assert_confirmation_error(model, attribute, message = &quot;confirmation error&quot;)
-        assert model.errors.on(attribute).include?(&quot;doesn't match confirmation&quot;), 
+        assert model.errors.on(attribute).include?(&quot;doesn't match confirmation&quot;),
           message
       end
     end</diff>
      <filename>shoulda_macros/clearance.rb</filename>
    </modified>
    <modified>
      <diff>@@ -25,9 +25,9 @@ HOST = &quot;localhost&quot;
 
 config.gem 'thoughtbot-shoulda',
   :lib     =&gt; 'shoulda',
-  :source  =&gt; &quot;http://gems.github.com&quot;, 
+  :source  =&gt; &quot;http://gems.github.com&quot;,
   :version =&gt; '&gt;= 2.9.1'
 config.gem 'thoughtbot-factory_girl',
   :lib     =&gt; 'factory_girl',
-  :source  =&gt; &quot;http://gems.github.com&quot;, 
+  :source  =&gt; &quot;http://gems.github.com&quot;,
   :version =&gt; '&gt;= 1.2.0'</diff>
      <filename>test/rails_root/config/environments/test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,6 @@ ActionController::Routing::Routes.draw do |map|
   map.resources :passwords
   map.resource  :session
   map.resource  :account
-  
+
   map.root :controller =&gt; 'accounts', :action =&gt; 'edit'
 end</diff>
      <filename>test/rails_root/config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,17 +5,17 @@ class AccountsControllerTest &lt; ActionController::TestCase
     should_deny_access_on 'get :edit'
     should_deny_access_on 'put :update'
   end
-  
+
   context &quot;on POST to create&quot; do
     setup do
       post :create
     end
 
     should_deny_access
-    
+
     should &quot;not store location&quot; do
       assert session[:return_to].nil?
     end
   end
-  
+
 end</diff>
      <filename>test/rails_root/test/functional/accounts_controller_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>21594fa1353cfae04d1636137d16b61fef244aff</id>
    </parent>
  </parents>
  <author>
    <name>Nick Quaranto</name>
    <email>nick@quaran.to</email>
  </author>
  <url>http://github.com/thoughtbot/clearance/commit/65f22b9c59dab052b851e53ed2be3a065aff2d94</url>
  <id>65f22b9c59dab052b851e53ed2be3a065aff2d94</id>
  <committed-date>2009-03-03T05:42:40-08:00</committed-date>
  <authored-date>2009-03-03T05:42:40-08:00</authored-date>
  <message>Cleaning up some whitespace issues</message>
  <tree>ace8866655c4e0404e4a7d91bc729cf96d77172d</tree>
  <committer>
    <name>Nick Quaranto</name>
    <email>nick@quaran.to</email>
  </committer>
</commit>
