summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 17:22:45 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 17:22:45 +0100
commitafb8f59b9333dadd5129c0862e5677c100c803a5 (patch)
tree05afd3fc201a5d8835db610090f223809cebfc0a /spec/node_spec.rb
parente5d9e300774bb83e5c85a4c672b399772f8db330 (diff)
downloadzorglub-afb8f59b9333dadd5129c0862e5677c100c803a5.zip
zorglub-afb8f59b9333dadd5129c0862e5677c100c803a5.tar.gz
config: fix + add spec for [] and []= methods
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index db5f3f6..f25c45a 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -8,6 +8,7 @@ describe Zorglub do
#
it "engine should return default Node's engine" do
Node0.engine.should == Zorglub::Config.engine
+ Node0.engine.should == Zorglub::Config[:engine]
end
#
it "layout should return default Node's layout" do