-
Notifications
You must be signed in to change notification settings - Fork 228
Running the specs
Bud (Mugur) Chirica edited this page Sep 18, 2017
·
9 revisions
After checking out the gem, I usually start by creating a gemset with rvm:
rvm use 2.2.2@sorcery --create
Then I install bundler
gem install bundler
Then run
bundle install
Now you have a few important rake tasks at your disposal:
rake bundle
- will run bundle install
recursively on all subfolders which have a Gemfile.
rake bundle_update
- will run bundle update
recursively.
The default rake
task from the gem root folder runs all specs.
That includes specs for all of Sorcery supported platforms and ORMs (Rails 5, ActiveRecord, Mongoid, MongoMapper etc.).
The ActiveRecord specs expect a local MySQL server present at the default port.
The Mongoid/MongoMapper specs expect a local Mongoid server present at the default port.
Meta
Using Sorcery
- Activity Logging
- Brute Force Protection
- DataMapper Support
- DelayedJob Integration
- Distinguish login failure reasons
- External
- External---Microsoft-Graph-authentication
- Fetching Currently Active Users
- HTTP Basic Auth
- Integration Testing
- OAuth Landing Page
- Password-less Activation
- Remember Me
- Reset Password
- Routes Constraints
- Session Timeout
- Simple Password Authentication
- Single Table Inheritance Support
- Testing Rails
- User Activation
Contributing to Sorcery