mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
9ee50b3082
* Use SINATRA_ENV var if set
9 lines
159 B
Ruby
9 lines
159 B
Ruby
require 'rubygems'
|
|
require 'rake/testtask'
|
|
|
|
task :default => :test
|
|
|
|
Rake::TestTask.new do |t|
|
|
ENV['SINATRA_ENV'] = 'test'
|
|
t.pattern = "test/*_test.rb"
|
|
end
|