11 lines
403 B
Gherkin
11 lines
403 B
Gherkin
Feature: Sprockets
|
|
|
|
Scenario: Sprockets require
|
|
Given the Server is running at "test-app"
|
|
When I go to "/javascripts/sprockets_base.js"
|
|
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"
|
|
Then I should see "sprockets_sub_function" |