Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (13 sloc) 0.354 kb
c3d94aa @smartinez87 Add some initial test coverage with dummy app.
authored
1 require 'bundler'
2 Bundler::GemHelper.install_tasks
3
4 require 'rake/testtask'
5
2f2abda @smartinez87 Set up test db when running rake
authored
6 unless File.exists? "test/dummy/db/test.sqlite3"
7 sh "cd test/dummy; rake db:migrate; rake db:test:prepare; cd ../../;"
8 end
9
c3d94aa @smartinez87 Add some initial test coverage with dummy app.
authored
10 Rake::TestTask.new(:test) do |t|
11 t.libs << 'lib'
12 t.libs << 'test'
13 t.pattern = 'test/**/*_test.rb'
14 t.verbose = true
15 end
16
17 task :default => :test
Something went wrong with that request. Please try again.