try to test sprockets vendored css
This commit is contained in:
parent
61744661ff
commit
8aa4765524
4 changed files with 9 additions and 1 deletions
|
@ -2,4 +2,9 @@ Feature: Sprockets Gems
|
|||
Scenario: Sprockets can pull jQuery from gem
|
||||
Given the Server is running at "sprockets-app"
|
||||
When I go to "/library/javascripts/jquery_include.js"
|
||||
Then I should see "var jQuery ="
|
||||
Then I should see "var jQuery ="
|
||||
|
||||
Scenario: Sprockets can pull CSS from gem
|
||||
Given the Server is running at "sprockets-app"
|
||||
When I go to "/library/stylesheets/bootstrap_include.css"
|
||||
Then I should see "Bootstrap"
|
1
fixtures/sprockets-app/source/library/stylesheets/bootstrap_include.css.scss
vendored
Normal file
1
fixtures/sprockets-app/source/library/stylesheets/bootstrap_include.css.scss
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
//= require "bootstrap.scss"
|
|
@ -70,5 +70,6 @@ eos
|
|||
s.add_development_dependency("rake", ["~> 0.9.2"])
|
||||
s.add_development_dependency("rspec", ["~> 2.6.0"])
|
||||
s.add_development_dependency("jquery-rails")
|
||||
s.add_development_dependency("bootstrap-rails")
|
||||
end
|
||||
|
||||
|
|
|
@ -67,5 +67,6 @@ eos
|
|||
s.add_development_dependency("rake", ["~> 0.9.2"])
|
||||
s.add_development_dependency("rspec", ["~> 2.6.0"])
|
||||
s.add_development_dependency("jquery-rails")
|
||||
s.add_development_dependency("bootstrap-rails")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue