Sha256: 68a91f06bbf1583b96d68f7fdda9fb4064b30c34c9bc65405c7f0a1edc99a24e
Contents?: true
Size: 468 Bytes
Versions: 6
Compression:
Stored size: 468 Bytes
Contents
require 'rubygems' require 'rake' begin require 'rspec/core/rake_task' desc "Run RSpec" RSpec::Core::RakeTask.new do |t| t.verbose = false end rescue LoadError puts "You should run rake spec:install in order to install all corresponding gems!" end task :default => :spec namespace :db do desc 'Prepare sqlite database' task :migrate do system 'cd spec/dummy && rake db:migrate RAILS_ENV=test && rake db:migrate RAILS_ENV=development' end end
Version data entries
6 entries across 6 versions & 1 rubygems