2010-09-07 03:48:25 +02:00
|
|
|
Feature: Built-in macro view helpers
|
|
|
|
In order to simplify generating HTML
|
|
|
|
|
|
|
|
Scenario: Using the link_to helper
|
2011-07-28 04:59:38 +02:00
|
|
|
Given the Server is running at "test-app"
|
2010-09-07 03:48:25 +02:00
|
|
|
When I go to "/padrino_test.html"
|
|
|
|
And I should see 'href="test2.com"'
|
|
|
|
And I should see 'src="/images/test2.png"'
|
|
|
|
Then I should see 'src="/javascripts/test1.js"'
|
|
|
|
Then I should see 'href="/stylesheets/test1.css"'
|