2011-07-10 16:02:52 -07:00
|
|
|
Feature: Sprockets
|
|
|
|
|
|
|
|
Scenario: Sprockets require
|
2011-07-27 19:59:38 -07:00
|
|
|
Given the Server is running at "test-app"
|
2011-07-10 16:02:52 -07:00
|
|
|
When I go to "/javascripts/sprockets_base.js"
|
2011-08-09 11:12:20 -07:00
|
|
|
Then I should see "sprockets_sub_function"
|
|
|
|
|
|
|
|
Scenario: Sprockets require with custom :js_dir
|
|
|
|
Given the Server is running at "sprockets-app"
|
|
|
|
When I go to "/library/javascripts/sprockets_base.js"
|
2011-07-10 16:02:52 -07:00
|
|
|
Then I should see "sprockets_sub_function"
|