summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-04 10:25:25 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-04 10:25:25 +0100
commitb0a20bab875e1310ca1726d267569eebb7e12c81 (patch)
tree3c1cac176d72f8b5df9016493ac506e9a640bd22 /spec/spec_helper.rb
parent028352a4639b5a229b946c5bc34621771dc3710a (diff)
downloadzorglub-b0a20bab875e1310ca1726d267569eebb7e12c81.zip
zorglub-b0a20bab875e1310ca1726d267569eebb7e12c81.tar.gz
spec: update to take care of :partial state
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 3a7e5fb..35b8e2a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -19,6 +19,8 @@ RENDER_PROC = Proc.new { |path,obj|
"layout_start #{obj.content} layout_end"
when :view
"view_content"
+ when :partial
+ 'partial_content'
else
raise Exception.new
end