add some sprockets update tests
This commit is contained in:
parent
4b818ea230
commit
220bb5edb2
|
@ -36,6 +36,28 @@ Feature: Sprockets
|
||||||
When I go to "/stylesheets/sprockets_base2.css"
|
When I go to "/stylesheets/sprockets_base2.css"
|
||||||
Then I should see "hello"
|
Then I should see "hello"
|
||||||
|
|
||||||
|
Scenario: Sprockets CSS require //require (updates)
|
||||||
|
Given the Server is running at "sprockets-app2"
|
||||||
|
When I go to "/stylesheets/sprockets_base1.css"
|
||||||
|
Then I should see "hello"
|
||||||
|
And the file "source/stylesheets/sprockets_sub.css.scss" has the contents
|
||||||
|
"""
|
||||||
|
hola { mundo: "hola"; }
|
||||||
|
"""
|
||||||
|
When I go to "/stylesheets/sprockets_base1.css"
|
||||||
|
Then I should see "hola"
|
||||||
|
|
||||||
|
Scenario: Sprockets CSS require @import (updates)
|
||||||
|
Given the Server is running at "sprockets-app2"
|
||||||
|
When I go to "/stylesheets/sprockets_base2.css"
|
||||||
|
Then I should see "hello"
|
||||||
|
And the file "source/stylesheets/sprockets_sub.css.scss" has the contents
|
||||||
|
"""
|
||||||
|
hola { mundo: "hola"; }
|
||||||
|
"""
|
||||||
|
When I go to "/stylesheets/sprockets_base2.css"
|
||||||
|
Then I should see "hola"
|
||||||
|
|
||||||
Scenario: Sprockets CSS require with custom :css_dir //require
|
Scenario: Sprockets CSS require with custom :css_dir //require
|
||||||
Given the Server is running at "sprockets-app"
|
Given the Server is running at "sprockets-app"
|
||||||
When I go to "/library/css/sprockets_base1.css"
|
When I go to "/library/css/sprockets_base1.css"
|
||||||
|
|
|
@ -28,4 +28,3 @@ Gem::Specification.new do |s|
|
||||||
s.add_dependency("sprockets-sass", ["~> 0.8.0"])
|
s.add_dependency("sprockets-sass", ["~> 0.8.0"])
|
||||||
s.add_dependency("maruku", ["~> 0.6.0"])
|
s.add_dependency("maruku", ["~> 0.6.0"])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue