2010-09-06 18:48:25 -07:00
|
|
|
Feature: Built-in macro view helpers
|
|
|
|
In order to simplify generating HTML
|
|
|
|
|
|
|
|
Scenario: Using the link_to helper
|
2011-12-29 15:09:51 -08:00
|
|
|
Given the Server is running at "padrino-helpers-app"
|
2011-11-18 13:38:18 -08:00
|
|
|
When I go to "/former_padrino_test.html"
|
2010-09-06 18:48:25 -07:00
|
|
|
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"'
|