refactor Server into a dynamically loadable class

This commit is contained in:
Thomas Reynolds 2011-07-13 00:38:04 -07:00
parent 61ef9ee3da
commit 17be87bafd
30 changed files with 300 additions and 337 deletions

View file

@ -1,20 +1,20 @@
Feature: Minify CSS
In order reduce bytes sent to client and appease YSlow
Scenario: Rendering inline css with the feature disabled
Given "minify_css" feature is "disabled"
When I go to "/inline-css.html"
Then I should see "4" lines
# Scenario: Rendering inline css with the feature disabled
# Given "minify_css" feature is "disabled"
# When I go to "/inline-css.html"
# Then I should see "4" lines
Scenario: Rendering external css with the feature disabled
Given "minify_css" feature is "disabled"
When I go to "/stylesheets/site.css"
Then I should see "56" lines
Scenario: Rendering inline css with the feature enabled
Given "minify_css" feature is "enabled"
When I go to "/inline-css.html"
Then I should see "1" lines
# Scenario: Rendering inline css with the feature enabled
# Given "minify_css" feature is "enabled"
# When I go to "/inline-css.html"
# Then I should see "1" lines
Scenario: Rendering external css with the feature enabled
Given "minify_css" feature is "enabled"