Rework the Sign Up/Sign In views
Use Capybaras save_page when feature tests go wrong
This commit is contained in:
parent
76028f5755
commit
5f96c276e9
24 changed files with 326 additions and 100 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -23,11 +23,10 @@ defaults: &defaults
|
|||
facebook_key: ''
|
||||
facebook_secret: ''
|
||||
|
||||
# Developers do not need to register their application for novell account to work.
|
||||
# Developers do not need to register their application for suse account to work.
|
||||
# You must, however, leave the sample data there, for the login option to appear.
|
||||
|
||||
novell_key: 'sample data'
|
||||
novell_secret: 'sample data'
|
||||
suse_key: 'sample data'
|
||||
suse_secret: 'sample data'
|
||||
|
||||
# If you add more providers that do not require a key, you still have to create the 2 variables with sample data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue