diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 22:17:12 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 22:17:12 +0100 |
commit | 4c14c7c4c57f20451cd92512f07978e3b1c64885 (patch) | |
tree | c1e6df0efaf6a7e4ebbb75d26f9f6fc7e26b4176 /spec/spec_helper.rb | |
parent | eee3d11a9a6518ddba74a486c3a3b6e4569407ba (diff) | |
download | zorglub-4c14c7c4c57f20451cd92512f07978e3b1c64885.zip zorglub-4c14c7c4c57f20451cd92512f07978e3b1c64885.tar.gz |
spec: ENGINE_PROC uses symbols instead of string keys
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d0356a0..907a84d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -12,7 +12,7 @@ require 'yaml' # require 'zorglub' # -ENGINE_PROC = Proc.new { |path,obj| {'path'=>path,'layout'=>obj.layout,'view'=>obj.view}.to_yaml } +ENGINE_PROC = Proc.new { |path,obj| {:path=>path,:layout=>obj.layout,:view=>obj.view}.to_yaml } Zorglub::Config.register_engine 'default', nil, ENGINE_PROC Zorglub::Config.register_engine 'spec-engine-1', 'spec', ENGINE_PROC Zorglub::Config.register_engine 'spec-engine-2', 'spec', ENGINE_PROC |