summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 23:54:48 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 23:54:48 +0100
commit677d37ee4cadd7991636aa43fa3919b1a8a9c619 (patch)
tree78f0a5bdd8c4b64cdbb9601e315b4dc3ca3dbf28 /spec/node_spec.rb
parenta9da952f445958a4cc16a25abb50b930ac8da302 (diff)
downloadzorglub-677d37ee4cadd7991636aa43fa3919b1a8a9c619.zip
zorglub-677d37ee4cadd7991636aa43fa3919b1a8a9c619.tar.gz
spec: add Node#view spec
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index 8d910a3..e6b6543 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -116,6 +116,10 @@ describe Zorglub do
Node0.partial(:do_partial, 1, 2).should == "view_content"
end
#
+ it "method level view should work" do
+ Node0.partial(:other_view).should == "view_content"
+ end
+ #
end
#
end