Sha256: d7cb5cb8c80ef72826c689fe83cc60855d779ce7c018dfd1320380edcc25c7a7
Contents?: true
Size: 375 Bytes
Versions: 7
Compression:
Stored size: 375 Bytes
Contents
require 'sinatra/activerecord/rake' require 'rake/testtask' require './src/app' namespace :test do task :prepare do `RACK_ENV=test rake db:create` `RACK_ENV=test rake db:migrate` `RACK_ENV=test SECRET=secret rake db:seed` end end task :test do Rake::TestTask.new do |t| t.pattern = 'test/*_test.rb' t.libs << 'test' t.verbose = true end end
Version data entries
7 entries across 7 versions & 2 rubygems