Two factor authentication extension for Devise
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'bundler/gem_tasks'
|
|
|
|
|
|
|
|
APP_RAKEFILE = File.expand_path('spec/rails_app/Rakefile', __dir__)
|
|
|
|
load 'rails/tasks/engine.rake'
|
|
|
|
|
|
|
|
require 'rspec/core/rake_task'
|
|
|
|
|
|
|
|
desc 'Run all specs in spec directory (excluding plugin specs)'
|
|
|
|
RSpec::Core::RakeTask.new(spec: 'app:db:test:prepare')
|
|
|
|
|
|
|
|
task default: :spec
|
|
|
|
|
|
|
|
# To test against a specific version of Rails
|
|
|
|
# export RAILS_VERSION=3.2.0; bundle update; rake
|