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:
parent
7ad136b049
commit
cbad68f19d
3 changed files with 11 additions and 0 deletions
7
Rakefile
7
Rakefile
|
@ -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
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
$:.unshift File.expand_path('../../test', __dir__)
|
||||
|
||||
require 'test_helper'
|
||||
require 'minitest/autorun'
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
$:.unshift File.expand_path('../../test', __dir__)
|
||||
|
||||
require 'test_helper'
|
||||
require 'minitest/autorun'
|
||||
|
||||
|
|
Loading…
Reference in a new issue