1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

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'