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-12-30 00:09:51 +01:00
|
|
|
Given the Server is running at "padrino-helpers-app"
|
2011-11-18 22:38:18 +01:00
|
|
|
When I go to "/former_padrino_test.html"
|
2010-09-07 03:48:25 +02: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"'
|