We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50fcd4d commit 01feeb8Copy full SHA for 01feeb8
spec/integration/template_spec.rb
@@ -1,6 +1,7 @@
1
require'spec_helper'
2
requireFile.join(File.dirname(__FILE__),'../../','examples/template')
3
4
+
5
describeTemplatedo
6
7
defconfig_file
@@ -9,7 +10,10 @@ def config_file
9
10
11
let(:api_options){{:config=>config_file}}
12
13
+before(:all){Goliath.env=:test}
14
15
it'renders haml template with default haml layout'do
16
17
with_api(Template,api_options)do
18
get_requestdo |c|
19
c.response.should =~ %r{<li><a href="/joke">Tell me a joke</a></li>}
0 commit comments