Set up minitest

This commit is contained in:
Steve Klabnik 2014-07-05 11:55:45 -04:00
parent 4a2d9853ba
commit 99e3d0f70b
3 changed files with 12 additions and 1 deletions

View File

@ -2,3 +2,5 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in active_model_serializers.gemspec
gemspec
gem "minitest"

View File

@ -1,3 +1,12 @@
require "bundler/gem_tasks"
task :default
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << "lib"
t.test_files = FileList['test/*_test.rb']
t.ruby_opts = ['-r./test/test_helper.rb']
t.verbose = true
end
task :default => :test

0
test/test_helper.rb Normal file
View File