Skip to content

Commit

Permalink
Removes devise initializer from dummy generator
Browse files Browse the repository at this point in the history
The dummy app generator adds a devise initializer that's disabled in most of the time.

The official solidus_auth_devise gem has it's own devise initializer, that never gets generated in the dummy app, because the generator skips existing devise initializers (what's good, to prevent overwriting in the real host app).
  • Loading branch information
Thomas von Deyen authored and Clarke Brunsdon committed Jan 26, 2016
1 parent 1755586 commit d57f3de
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion core/lib/generators/spree/dummy/dummy_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def test_dummy_config
template "rails/test.rb", "#{dummy_path}/config/environments/test.rb", :force => true
template "rails/script/rails", "#{dummy_path}/spec/dummy/script/rails", :force => true
template "initializers/custom_user.rb", "#{dummy_path}/config/initializers/custom_user.rb", :force => true
template "initializers/devise.rb", "#{dummy_path}/config/initializers/devise.rb", :force => true
end

def test_dummy_inject_extension_requirements
Expand Down

This file was deleted.

0 comments on commit d57f3de

Please sign in to comment.