Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (18 sloc) 0.793 kb
b872dad @tdreyno more cucumber stuff
tdreyno authored
1 Feature: Minify CSS
2 In order reduce bytes sent to client and appease YSlow
3
4 Scenario: Rendering inline css with the feature enabled
5 Given "minify_css" feature is "enabled"
6 When I go to "/inline-css.html"
7 Then I should see "1" lines
8
9 Scenario: Rendering inline css with the feature disabled
10 Given "minify_css" feature is "disabled"
11 When I go to "/inline-css.html"
12 Then I should see "3" lines
13
14 Scenario: Rendering external css with the feature enabled
15 Given "minify_css" feature is "enabled"
16 When I go to "/stylesheets/site.css"
17 Then I should see "1" lines
18
19 Scenario: Rendering external css with the feature disabled
20 Given "minify_css" feature is "disabled"
21 When I go to "/stylesheets/site.css"
22 Then I should see "47" lines
Something went wrong with that request. Please try again.