mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
add some sprockets update tests
This commit is contained in:
parent
4b818ea230
commit
220bb5edb2
2 changed files with 23 additions and 2 deletions
|
@ -35,6 +35,28 @@ Feature: Sprockets
|
|||
Given the Server is running at "sprockets-app2"
|
||||
When I go to "/stylesheets/sprockets_base2.css"
|
||||
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
|
||||
Given the Server is running at "sprockets-app"
|
||||
|
|
|
@ -27,5 +27,4 @@ Gem::Specification.new do |s|
|
|||
s.add_dependency("sprockets", ["~> 2.1"])
|
||||
s.add_dependency("sprockets-sass", ["~> 0.8.0"])
|
||||
s.add_dependency("maruku", ["~> 0.6.0"])
|
||||
end
|
||||
|
||||
end
|
Loading…
Reference in a new issue