diff --git a/middleman-more/features/sprockets.feature b/middleman-more/features/sprockets.feature index d29b5088..43b8960f 100644 --- a/middleman-more/features/sprockets.feature +++ b/middleman-more/features/sprockets.feature @@ -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" diff --git a/middleman-more/middleman-more.gemspec b/middleman-more/middleman-more.gemspec index 1ff77d48..55003da4 100644 --- a/middleman-more/middleman-more.gemspec +++ b/middleman-more/middleman-more.gemspec @@ -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 \ No newline at end of file