Skip to content

Comments

Setup devise for running tests#6

Open
yui-knk wants to merge 1 commit intopepabo:masterfrom
yui-knk:devise_setup_for_test
Open

Setup devise for running tests#6
yui-knk wants to merge 1 commit intopepabo:masterfrom
yui-knk:devise_setup_for_test

Conversation

@yui-knk
Copy link

@yui-knk yui-knk commented Oct 25, 2015

To run tests we should setup Devise.config.secret_key.
Writing config.secret_key to config/initializers/devise.rb
directly is not proper way, because users (not webistrano developers)
use config/initializers/devise.rb.

This commit makes webistrano developers to run tests easily by
bundle exec rake ci.

To run tests we should setup `Devise.config.secret_key`.
Writing `config.secret_key` to `config/initializers/devise.rb`
directly is not proper way, because users (not webistrano developers)
use `config/initializers/devise.rb`.

This commit makes webistrano developers to run tests easily by
`bundle exec rake ci`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant