lib/asset_hat/tasks.rb in asset_hat-0.1.4 vs lib/asset_hat/tasks.rb in asset_hat-0.1.5
- old
+ new
@@ -2,22 +2,21 @@
require 'active_support'
require 'action_controller'
require 'action_view'
require File.join(File.dirname(__FILE__), %w[.. asset_hat])
-
-
unless defined?(RAILS_ROOT)
RAILS_ROOT = File.join(File.dirname(__FILE__), '..', '..')
end
+
+
task :default => :test
-desc 'Run tests'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib' << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = false
+ t.pattern = 'test/*_test.rb'
+ t.verbose = true
end
namespace :asset_hat do