mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Four of a kind
This commit is contained in:
parent
6f1e2647c9
commit
db6d64e2f4
1 changed files with 30 additions and 0 deletions
30
Rakefile
30
Rakefile
|
@ -26,3 +26,33 @@ Rake::TestTask.new(:spec) do |t|
|
||||||
t.test_files = %w[test/haml-spec/ugly_test.rb test/haml-spec/pretty_test.rb]
|
t.test_files = %w[test/haml-spec/ugly_test.rb test/haml-spec/pretty_test.rb]
|
||||||
t.verbose = true
|
t.verbose = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
namespace :test do
|
||||||
|
Rake::TestTask.new(:engine) do |t|
|
||||||
|
t.libs << 'lib' << 'test'
|
||||||
|
t.ruby_opts = %w[-rtest_helper]
|
||||||
|
t.test_files = %w[test/engine_test.rb]
|
||||||
|
t.verbose = true
|
||||||
|
end
|
||||||
|
|
||||||
|
Rake::TestTask.new(:filters) do |t|
|
||||||
|
t.libs << 'lib' << 'test'
|
||||||
|
t.ruby_opts = %w[-rtest_helper]
|
||||||
|
t.test_files = %w[test/filters_test.rb]
|
||||||
|
t.verbose = true
|
||||||
|
end
|
||||||
|
|
||||||
|
Rake::TestTask.new(:helper) do |t|
|
||||||
|
t.libs << 'lib' << 'test'
|
||||||
|
t.ruby_opts = %w[-rtest_helper]
|
||||||
|
t.test_files = %w[test/helper_test.rb]
|
||||||
|
t.verbose = true
|
||||||
|
end
|
||||||
|
|
||||||
|
Rake::TestTask.new(:template) do |t|
|
||||||
|
t.libs << 'lib' << 'test'
|
||||||
|
t.ruby_opts = %w[-rtest_helper]
|
||||||
|
t.test_files = %w[test/template_test.rb]
|
||||||
|
t.verbose = true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue