Fix obsolete haml test path
This commit is contained in:
parent
3d7470989c
commit
0070620624
|
@ -52,7 +52,7 @@ namespace :benchmark do
|
|||
haml_benchmark = Benchmark.new('haml ')
|
||||
faml_benchmark = Benchmark.new('faml ')
|
||||
hamlit_benchmark = Benchmark.new('hamlit')
|
||||
yaml_path = File.expand_path('../test/haml-spec/tests.yml', __dir__)
|
||||
yaml_path = File.expand_path('../test/haml/haml-spec/tests.yml', __dir__)
|
||||
contexts = YAML.load(File.read(yaml_path))
|
||||
|
||||
faml_engine = Faml::Engine.new(filename: '')
|
||||
|
|
|
@ -5,7 +5,7 @@ require 'yaml'
|
|||
|
||||
desc 'Profile compilation'
|
||||
task :profile do
|
||||
yaml_path = File.expand_path('../test/haml-spec/tests.yml', __dir__)
|
||||
yaml_path = File.expand_path('../test/haml/haml-spec/tests.yml', __dir__)
|
||||
contexts = YAML.load(File.read(yaml_path))
|
||||
|
||||
hamlit_engine = Hamlit::Engine.new
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace :benchmark do
|
|||
faml_engine = Faml::Engine.new(filename: '')
|
||||
hamlit_engine = Hamlit::Engine.new
|
||||
|
||||
haml = File.read(File.expand_path('../test/templates/standard.haml', __dir__))
|
||||
haml = File.read(File.expand_path('../test/haml/templates/standard.haml', __dir__))
|
||||
locals = {}
|
||||
options = { ugly: true, escape_html: true }
|
||||
|
||||
|
|
Loading…
Reference in New Issue