spec/integration/template_spec.rb in goliath-1.0.0 vs spec/integration/template_spec.rb in goliath-1.0.1
- old
+ new
@@ -8,10 +8,10 @@
let(:api_options) { { :config => config_file } }
it 'renders haml template with default haml layout' do
with_api(Template, api_options) do
- get_request(:path => '/root') do |c|
+ get_request(:path => '/') do |c|
c.response.should =~ %r{<li><a href="/joke">Tell me a joke</a></li>}
end
end
end