prep rc release

This commit is contained in:
Thomas Reynolds 2011-07-23 22:53:17 -07:00
parent 5c2defac6d
commit 7c266d9e85
9 changed files with 22 additions and 2 deletions

View file

@ -3,10 +3,12 @@ Feature: Alternate between multiple asset hosts
Scenario: Rendering css with the feature enabled
Given I am using an asset host
And the Server is running
When I go to "/stylesheets/asset_host.css"
Then I should see "http://assets"
Scenario: Rendering html with the feature enabled
Given I am using an asset host
And the Server is running
When I go to "/asset_host.html"
Then I should see "http://assets"

View file

@ -3,12 +3,14 @@ Feature: Automatically detect and insert image dimensions into tags
Scenario: Rendering an image with the feature disabled
Given "automatic_image_sizes" feature is "disabled"
And the Server is running
When I go to "/auto-image-sizes.html"
Then I should not see "width="
And I should not see "height="
Scenario: Rendering an image with the feature enabled
Given "automatic_image_sizes" feature is "enabled"
And the Server is running
When I go to "/auto-image-sizes.html"
Then I should see "width="
And I should see "height="

View file

@ -3,20 +3,24 @@ Feature: Generate mtime-based query string for busting browser caches
Scenario: Rendering css with the feature disabled
Given "cache_buster" feature is "disabled"
And the Server is running
When I go to "/stylesheets/relative_assets.css"
Then I should not see "?"
Scenario: Rendering html with the feature disabled
Given "cache_buster" feature is "disabled"
And the Server is running
When I go to "/cache-buster.html"
Then I should not see "?"
Scenario: Rendering css with the feature enabled
Given "cache_buster" feature is "enabled"
And the Server is running
When I go to "/stylesheets/relative_assets.css"
Then I should see "?"
Scenario: Rendering html with the feature enabled
Given "cache_buster" feature is "enabled"
And the Server is running
When I go to "/cache-buster.html"
Then I should not see "?"

View file

@ -8,6 +8,7 @@ Feature: Minify CSS
Scenario: Rendering external css with the feature disabled
Given "minify_css" feature is "disabled"
And the Server is running
When I go to "/stylesheets/site.css"
Then I should see "55" lines
@ -18,5 +19,6 @@ Feature: Minify CSS
Scenario: Rendering external css with the feature enabled
Given "minify_css" feature is "enabled"
And the Server is running
When I go to "/stylesheets/site.css"
Then I should see "1" lines

View file

@ -6,15 +6,18 @@ Feature: Minify Javascript
Scenario: Rendering inline js with the feature disabled
Given "minify_javascript" feature is "disabled"
And the Server is running
When I go to "/inline-js.html"
Then I should see "10" lines
Scenario: Rendering inline js with the feature enabled
Given "minify_javascript" feature is "enabled"
And the Server is running
When I go to "/inline-js.html"
Then I should see "5" lines
Scenario: Rendering inline js (coffeescript) with the feature enabled
Given "minify_javascript" feature is "enabled"
And the Server is running
When I go to "/inline-coffeescript.html"
Then I should see "5" lines

View file

@ -3,16 +3,19 @@ Feature: Custom layouts
Scenario: Using custom :layout attribute
Given page "/custom-layout.html" has layout "custom"
And the Server is running
When I go to "/custom-layout.html"
Then I should see "Custom Layout"
Scenario: Using with_layout block
Given "/custom-layout.html" with_layout block has layout "custom"
And the Server is running
When I go to "/custom-layout.html"
Then I should see "Custom Layout"
Scenario: Using custom :layout attribute with folders
Given page "/custom-layout-dir/" has layout "custom"
And the Server is running
When I go to "/custom-layout-dir"
Then I should see "Custom Layout"
When I go to "/custom-layout-dir/"
@ -22,6 +25,7 @@ Feature: Custom layouts
Scenario: Using custom :layout attribute with folders
Given page "/custom-layout-dir" has layout "custom"
And the Server is running
When I go to "/custom-layout-dir"
Then I should see "Custom Layout"
When I go to "/custom-layout-dir/"
@ -31,6 +35,7 @@ Feature: Custom layouts
Scenario: Using custom :layout attribute with folders
Given page "/custom-layout-dir/index.html" has layout "custom"
And the Server is running
When I go to "/custom-layout-dir"
Then I should see "Custom Layout"
When I go to "/custom-layout-dir/"

View file

@ -6,7 +6,7 @@ Feature: Relative Assets
And the Server is running
When I go to "/stylesheets/relative_assets.css"
Then I should not see "url('../"
And I should see "url('/images/blank.gif"
And I should see "/images/blank.gif"
Scenario: Rendering html with the feature disabled
Given "relative_assets" feature is "disabled"

View file

@ -4,10 +4,12 @@ Feature: Tiny Src
Scenario: Rendering html with the feature disabled
Given "tiny_src" feature is "disabled"
And the Server is running
When I go to "/tiny_src.html"
Then I should see "http://test.com/image.jpg"
Scenario: Rendering html with the feature enabled
Given "tiny_src" feature is "enabled"
And the Server is running
When I go to "/tiny_src.html"
Then I should see "http://i.tinysrc.mobi/http://test.com/image.jpg"

View file

@ -1,3 +1,3 @@
module Middleman
VERSION = "2.0.0.rc8"
VERSION = "2.0.0.rc9"
end