mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
add test for vendored js
This commit is contained in:
parent
c9b4edcc0a
commit
7458acae4d
3 changed files with 9 additions and 2 deletions
|
@ -8,3 +8,8 @@ Feature: Sprockets Gems
|
|||
# Given the Server is running at "sprockets-app"
|
||||
# When I go to "/library/css/bootstrap_include.css"
|
||||
# Then I should see "Bootstrap"
|
||||
|
||||
Scenario: Sprockets can pull js from vendored assets
|
||||
Given the Server is running at "sprockets-app"
|
||||
When I go to "/library/js/vendored_include.js"
|
||||
Then I should see "var vendored_js_included = true;"
|
|
@ -0,0 +1 @@
|
|||
//= require "vendored_js"
|
1
middleman-more/fixtures/sprockets-app/vendor/assets/javascripts/vendored_js.js
vendored
Normal file
1
middleman-more/fixtures/sprockets-app/vendor/assets/javascripts/vendored_js.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
var vendored_js_included = true;
|
Loading…
Reference in a new issue