Skip to content

Commit

Permalink
missing line from Devise recipe for RSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKehoe committed Mar 16, 2012
1 parent eab68f6 commit 821518a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rails3-devise-rspec-cucumber-template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ def guard(name, version = nil)
say_wizard "Copying RSpec files from the rails3-devise-rspec-cucumber examples"
begin
# copy all the RSpec specs files from the rails3-devise-rspec-cucumber example app
remove_file 'spec/factories/users.rb'
get 'https://raw.github.com/RailsApps/rails3-devise-rspec-cucumber/master/spec/factories/users.rb', 'spec/factories/users.rb'
gsub_file 'spec/factories/users.rb', /# confirmed_at/, "confirmed_at" if recipes.include? 'devise-confirmable'
remove_file 'spec/controllers/home_controller_spec.rb'
Expand Down

0 comments on commit 821518a

Please sign in to comment.