Comments (9)
I'm guessing this is because it's pointing at the wrong branch in the Gemfile. Taking a look now.
from spree_auth_devise.
Thanks Ryan, noticed the wrong branch.. since the bundle command failed :) so I changed that in my fork. Still having issues though..
from spree_auth_devise.
I am still looking at it.
from spree_auth_devise.
I know.. Thanks.. having some issues wrapping my head around the way it should be solved properly.. there are a number of issues but some need to be solved in spree I think? (dummy app generator accepting a User class param perhaps?) and the user ext. initializer logic moving to lib? That way we can require it in the spec_helper..
Looking forward in seeing what the proper solution should be..
from spree_auth_devise.
Good idea about the user class option :) The install generator accepts a --user-class
option that'll let you pass the name of the class through. I updated the installer last week to prompt for this option if you elect to not use the default authentication system too.
The dummy application generator (common:test_app
) now also takes an argument for user class. Any particular reason why you would want to move the initializer logic into lib after a change like that? Maybe I'm missing something.
from spree_auth_devise.
it looked like the methods from the initializer are not available for the User when running the specs.. could not require the file as well since it's not in the loadpath from spree_core.. what makes sense.. hence the idea to move the logic somewhere in lib so we can require it in spec_helper..
Will dive in more in a bit... first lunch!
from spree_auth_devise.
The only way I can think of where they'd be unavailable is if Spree.user_class
had not been set to your User
class inside config/initializers/spree.rb
.
from spree_auth_devise.
All the specs are now passing on my machine, just waiting for the CI to give it an all clear. Could you try running it on yours too?
from spree_auth_devise.
Al green here!! Thanks.
from spree_auth_devise.
Related Issues (20)
- login error devise 4.3.0 HOT 10
- Authorization failure page is rendered for not authenticated user
- Spree::Api 'checkouts#update' in production mode causes exception in Metal decorator HOT 1
- Bypass option is deprecated
- Multiple issues with specs
- Login without email impossible due to unique index on `email` column
- Devise Syntax Error HOT 2
- customize user confirmation email url HOT 1
- How can I set up the devise lockable module?
- Alerts are duplicated
- Users can't be really destroyed
- Order token is persisted on logout
- No Way For Users To Re-send The Account Confirmation Email HOT 1
- UserRegistrationsController won't inherit from Spree::BaseController
- 2-Factor Authentication HOT 2
- ArgumentError:wrong number of arguments (given 0, expected 1) on Spree::User#send_confirmation_instructions (spree_auth_devise 4.3.0) HOT 6
- Spree backend user session fallback root path is not admin_path
- Uninitialized constant Spree::UsersController with spree legacy frontend HOT 2
- 4.5.0 breaks rails version resolution (bundler) HOT 1
- URL Generation issue after Admin login HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spree_auth_devise.