Rakefile in sprockets-commonjs-0.0.5.pre vs Rakefile in sprockets-commonjs-0.0.5
- old
+ new
@@ -1,9 +1,10 @@
require 'bundler/gem_tasks'
require 'sprockets'
require 'sprockets/commonjs'
require 'rake/testtask'
+require 'appraisal'
task :example do
env = Sprockets::Environment.new(File.expand_path('..', __FILE__))
env.append_path 'examples/'
@@ -13,8 +14,9 @@
task :default => :test
Rake::TestTask.new do |t|
- t.libs << "test"
+ t.test_files = FileList['test/**/*_test.rb']
+ t.libs << 'lib' << 'test'
t.warning = true
end