summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb24
1 files changed, 10 insertions, 14 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 0a36182..3ca9523 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -16,18 +16,6 @@ Zorglub::Config.register_engine 'spec-engine-2', 'spec', ENGINE_PROC
#
Zorglub::Config.engine = 'haml'
#
-class SpecNode < Zorglub::Node
- @count=0
- class << self
- attr_accessor :count
- end
- before_all do |node|
- SpecNode.count +=1
- end
- layout 'spec-layout-1'
- engine 'spec-engine-1'
-end
-#
class Temp < Zorglub::Node
end
#
@@ -38,8 +26,16 @@ class Node0 < Zorglub::Node
end
end
#
-class Node1 < SpecNode
- # overridded
+class Node1 < Zorglub::Node
+ @count=0
+ class << self
+ attr_accessor :count
+ end
+ before_all do |node|
+ Node1.count +=1
+ end
+ layout 'spec-layout-1'
+ engine 'spec-engine-1'
end
#
class Node2 < Zorglub::Node