summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-05 14:08:04 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-05 14:08:04 +0100
commit97dcc225201ff9652cf443c42f8abbcfd9ba86c2 (patch)
tree79b84047f6c948b206cfbfdb49e8f20e84dc1792 /spec/node_spec.rb
parentfd6a806405068758210e0472fc1357a248466ef8 (diff)
downloadzorglub-97dcc225201ff9652cf443c42f8abbcfd9ba86c2.zip
zorglub-97dcc225201ff9652cf443c42f8abbcfd9ba86c2.tar.gz
spec: check class level static definition
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index 5b5d97d..6c83a13 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -152,16 +152,16 @@ describe Zorglub do
end
#
it "static pages should be generated" do
- r = Node0.my_call '/do_static'
+ r = Node6.my_call '/do_static'
r.body[0].should == 'VAL 1'
r.header['Content-type'].should == 'text/static'
- r = Node0.my_call '/do_static'
+ r = Node6.my_call '/do_static'
r.body[0].should == 'VAL 1'
r.header['Content-type'].should == 'text/static'
- r = Node0.my_call '/do_static'
+ r = Node6.my_call '/do_static'
r.body[0].should == 'VAL 1'
r.header['Content-type'].should == 'text/static'
- r = Node0.my_call '/no_static'
+ r = Node6.my_call '/no_static'
r.body[0].should == 'VAL 4'
r.header['Content-type'].should == 'text/static'
end