summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.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/spec_helper.rb
parente5d9e300774bb83e5c85a4c672b399772f8db330 (diff)
downloadzorglub-afb8f59b9333dadd5129c0862e5677c100c803a5.zip
zorglub-afb8f59b9333dadd5129c0862e5677c100c803a5.tar.gz
config: fix + add spec for [] and []= methods
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index fd3e951..d0356a0 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -17,7 +17,7 @@ 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
#
-Zorglub::Config.engine = 'default'
+Zorglub::Config[:engine] = 'default'
Zorglub::Config.root = File.join Dir.pwd, 'spec', 'data'
#
class Temp < Zorglub::Node