templates/devise.rb in prologue-0.1.0 vs templates/devise.rb in prologue-0.1.1

- old
+ new

@@ -84,10 +84,13 @@ gsub_file devise_migration, /# t.token_authenticatable/, 't.token_authenticatable' gsub_file devise_migration, /# add_index :users, :confirmation_token, :unique => true/, 'add_index :users, :confirmation_token, :unique => true' append_file 'db/seeds.rb' do <<-FILE -User.create! :name => '#{ENV['PROLOGUE_USER_NAME']}', :email => '#{ENV['PROLOGUE_USER_EMAIL']}', :password => '#{ENV['PROLOGUE_USER_PASSWORD']}', :password_confirmation => '#{ENV['PROLOGUE_USER_PASSWORD']}' +# Setup initial user so we can get in +user = User.create! :name => '#{ENV['PROLOGUE_USER_NAME']}', :email => '#{ENV['PROLOGUE_USER_EMAIL']}', :password => '#{ENV['PROLOGUE_USER_PASSWORD']}', :password_confirmation => '#{ENV['PROLOGUE_USER_PASSWORD']}' +user.confirmed_at = user.confirmation_sent_at +user.save FILE end # make cukes and websteps for devise apply File.expand_path("../devise/cucumber.rb", __FILE__)