Sha256: 4f455645a9cdc5ce761c5de5b09faba7f62e71a42d5fdf9a9cf3b9f732f8553c
Contents?: true
Size: 501 Bytes
Versions: 9
Compression:
Stored size: 501 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new task default: :spec task test: :spec desc 'Generate and run migrations in the test application' task :migrate do Dir.chdir('spec/dummy') do system('bin/rails generate doorkeeper:openid_connect:migration') system('bin/rake db:migrate') end end desc 'Run server in the test application' task :server do Dir.chdir('spec/dummy') do system('bin/rails server') end end
Version data entries
9 entries across 9 versions & 1 rubygems