Create shorthand for haml-spec

This commit is contained in:
Takashi Kokubun 2015-10-13 22:02:16 +09:00
parent 7ad136b049
commit cbad68f19d
3 changed files with 11 additions and 0 deletions

View File

@ -19,3 +19,10 @@ Rake::TestTask.new do |t|
t.verbose = true
end
task default: :test
Rake::TestTask.new(:spec) do |t|
t.libs << 'lib' << 'test'
t.ruby_opts = %w[-rtest_helper]
t.test_files = %w[test/haml-spec/ugly_test.rb test/haml-spec/pretty_test.rb]
t.verbose = true
end

View File

@ -1,3 +1,5 @@
$:.unshift File.expand_path('../../test', __dir__)
require 'test_helper'
require 'minitest/autorun'

View File

@ -1,3 +1,5 @@
$:.unshift File.expand_path('../../test', __dir__)
require 'test_helper'
require 'minitest/autorun'