Fixture-less slim

This commit is contained in:
Thomas Reynolds 2012-04-26 16:21:53 -07:00
parent 2e68e09200
commit b1d6b94302
3 changed files with 15 additions and 9 deletions

View file

@ -2,6 +2,20 @@ Feature: Support slim templating language
In order to offer an alternative to Haml
Scenario: Rendering Slim
Given the Server is running at "slim-app"
Given an empty app
And a file named "config.rb" with:
"""
"""
And a file named "source/slim.html.slim" with:
"""
doctype 5
html lang='en'
head
meta charset="utf-8"
body
h1 Welcome to Slim
"""
And the Server is running at "empty_app"
When I go to "/slim.html"
Then I should see "<h1>Welcome to Slim</h1>"

View file

@ -1 +0,0 @@
require "slim"

View file

@ -1,7 +0,0 @@
doctype 5
html lang='en'
head
meta charset="utf-8"
body
h1 Welcome to Slim