ref: dockerize
lib/tasks/test.rake
1 2 3 4 5 6 7 8 9 10 11 12 13 |
require 'rspec/core/rake_task' namespace :test do desc "Run the API tests in test/api" Rake::TestTask.new api: 'db:test:prepare' do |t| t.libs << 'test' t.pattern = 'test/api/**/*_test.rb' t.warning = false end desc "Run the Rspec tests" RSpec::Core::RakeTask.new :specs end |