diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-08-25 00:46:13 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-08-25 00:46:13 +0400 |
commit | 0ca86d31fcaa22d4ecb1c9052e5669f3f161e6a0 (patch) | |
tree | c020cda2d46acc8b2e74bb23120fc88804e72c4d /Rakefile | |
parent | 88be09541f342c44aa0d0e6b1cd24b92633af06b (diff) |
streamline tests, switch to minitest
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -4,10 +4,9 @@ $:.unshift(lib_path) unless $:.include?(lib_path) load './tasks/bower.rake' require 'rake/testtask' -Rake::TestTask.new do |t| - t.libs << "test" - t.test_files = FileList['test/*_test.rb'] - t.verbose = true +task :test do |t| + $: << File.expand_path('test/') + Dir.glob('./test/**/*_test.rb').each { |file| require file } end desc 'Dumps output to a CSS file for testing' |