You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When choosing omniauth and facebook, the test 'Sign in user cannot sign in with invalid account' fails.
To fix the tests:
Replace 'twitter' by 'facebook' (or provider id) line 23 in sign_in_spec.rb
Replace 'twitter' by 'facebook' (or provider id) lines 5 and 6 in spec/support/helpers/omniauth.rb
I don't know (yet) how the generator is working so I don't know where to look.
Thanks for this project, really helpful.
Here the README:
option Build a starter application?
choose Enter your selection: [rails-omniauth]
option Get on the mailing list for Rails Composer news?
choose Enter your selection: [none]
option Web server for development?
choose Enter your selection: [webrick]
option Web server for production?
choose Enter your selection: [puma]
option Database used in development?
choose Enter your selection: [postgresql]
option Template engine?
choose Enter your selection: [haml]
option Test framework?
choose Enter your selection: [rspec]
option Continuous testing?
choose Enter your selection: [guard]
option Front-end framework?
choose Enter your selection: [bootstrap3]
option Add support for sending email?
choose Enter your selection: [none]
option Authentication?
choose Enter your selection: [omniauth]
option Devise modules?
choose Enter your selection: []
option OmniAuth provider?
choose Enter your selection: [facebook]
option Authorization?
choose Enter your selection: [none]
option Use a form builder gem?
choose Enter your selection: [simple_form]
option Add pages?
choose Enter your selection: [about+users]
option Set a locale?
choose Enter your selection: [none]
option Install page-view analytics?
choose Enter your selection: [ga]
option Add a deployment mechanism?
choose Enter your selection: [heroku]
option Set a robots.txt file to ban spiders?
choose Enter your selection: [true]
option Create a GitHub repository? (y/n)
choose Enter your selection: []
option Add gem and file for environment variables?
choose Enter your selection: [false]
option Reduce assets logger noise during development?
choose Enter your selection: [true]
option Improve error reporting with 'better_errors' during development?
choose Enter your selection: [true]
option Use 'pry' as console replacement during development and test?
choose Enter your selection: [false]
option Use or create a project-specific rvm gemset?
choose Enter your selection: []
The text was updated successfully, but these errors were encountered:
joel1di1
changed the title
Choosing facebook for omniauth leads in a fail test (solution in description)
Choosing facebook for omniauth leads in fail tests (solution in description)
Dec 24, 2014
When choosing omniauth and facebook, the test 'Sign in user cannot sign in with invalid account' fails.
To fix the tests:
I don't know (yet) how the generator is working so I don't know where to look.
Thanks for this project, really helpful.
Here the README:
The text was updated successfully, but these errors were encountered: