summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 22:17:12 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 22:17:12 +0100
commit4c14c7c4c57f20451cd92512f07978e3b1c64885 (patch)
treec1e6df0efaf6a7e4ebbb75d26f9f6fc7e26b4176 /spec/node_spec.rb
parenteee3d11a9a6518ddba74a486c3a3b6e4569407ba (diff)
downloadzorglub-4c14c7c4c57f20451cd92512f07978e3b1c64885.zip
zorglub-4c14c7c4c57f20451cd92512f07978e3b1c64885.tar.gz
spec: ENGINE_PROC uses symbols instead of string keys
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index f25c45a..06b7fd1 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -55,9 +55,9 @@ describe Zorglub do
h = YAML.load r.body[0]
ly = File.join Zorglub::Config.root, Zorglub::Config.layout_dir, Node0.layout
vu = File.join Zorglub::Config.root, Zorglub::Config.view_dir, Node0.r, 'index'
- h['path'].should == ly
- h['layout'].should == ly
- h['view'].should == vu
+ h[:path].should == ly
+ h[:layout].should == ly
+ h[:view].should == vu
end
#
#
@@ -67,9 +67,9 @@ describe Zorglub do
h = YAML.load r.body[0]
ly = File.join Zorglub::Config.root, Zorglub::Config.layout_dir, 'main.spec'
vu = File.join Zorglub::Config.root, Zorglub::Config.view_dir, Node2.r, 'index.spec'
- h['path'].should == ly
- h['layout'].should == ly
- h['view'].should == vu
+ h[:path].should == ly
+ h[:layout].should == ly
+ h[:view].should == vu
end
#
end