Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-08-25 00:46:13 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-08-25 00:46:13 +0400
commit0ca86d31fcaa22d4ecb1c9052e5669f3f161e6a0 (patch)
treec020cda2d46acc8b2e74bb23120fc88804e72c4d /Rakefile
parent88be09541f342c44aa0d0e6b1cd24b92633af06b (diff)
streamline tests, switch to minitest
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index 92a3c4b..c90a305 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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'