Rework the Sign Up/Sign In views

Use Capybaras save_page when feature tests go wrong
This commit is contained in:
Henne Vogelsang 2014-07-23 14:55:06 +02:00
parent 76028f5755
commit 5f96c276e9
24 changed files with 326 additions and 100 deletions

View file

@ -9,10 +9,10 @@ Devise.setup do |config|
# Define the available openID providers that can be used to log in
# Pass each provider to User model in :omniauth_providers (for open_id providers use their name)
config.omniauth :open_id, name: 'novell', identifier: 'http://www.opensuse.org/openid/user'
config.omniauth :google_oauth2, Rails.application.secrets.google_key, Rails.application.secrets.google_secret,
config.omniauth :open_id, name: 'suse', identifier: 'http://www.opensuse.org/openid/user'
config.omniauth :google_oauth2, Rails.application.secrets.google_key, Rails.application.secrets.google_secret,
name: 'google',
scope: 'email'
scope: 'email'
config.omniauth :facebook, Rails.application.secrets.facebook_key, Rails.application.secrets.facebook_secret
# ==> Mailer Configuration