adjust expected hash

This commit is contained in:
Thomas Reynolds 2013-04-20 15:14:41 -07:00
parent a463be3432
commit d5af8b7d44

View file

@ -57,13 +57,13 @@ Feature: Assets get a file hash appended to their and references to them are upd
Scenario: Enabling an asset host still produces hashed files and references Scenario: Enabling an asset host still produces hashed files and references
Given the Server is running at "asset-hash-host-app" Given the Server is running at "asset-hash-host-app"
When I go to "/" When I go to "/"
Then I should see 'href="http://middlemanapp.com/stylesheets/site-171eb3c0.css"' Then I should see 'href="http://middlemanapp.com/stylesheets/site-54baaf3a.css"'
And I should see 'src="http://middlemanapp.com/images/100px-5fd6fb90.jpg"' And I should see 'src="http://middlemanapp.com/images/100px-5fd6fb90.jpg"'
When I go to "/subdir/" When I go to "/subdir/"
Then I should see 'href="http://middlemanapp.com/stylesheets/site-171eb3c0.css"' Then I should see 'href="http://middlemanapp.com/stylesheets/site-54baaf3a.css"'
And I should see 'src="http://middlemanapp.com/images/100px-5fd6fb90.jpg"' And I should see 'src="http://middlemanapp.com/images/100px-5fd6fb90.jpg"'
When I go to "/other/" When I go to "/other/"
Then I should see 'href="http://middlemanapp.com/stylesheets/site-171eb3c0.css"' Then I should see 'href="http://middlemanapp.com/stylesheets/site-54baaf3a.css"'
And I should see 'src="http://middlemanapp.com/images/100px-5fd6fb90.jpg"' And I should see 'src="http://middlemanapp.com/images/100px-5fd6fb90.jpg"'
# Asset helpers don't appear to work from Compass right now # Asset helpers don't appear to work from Compass right now
# When I go to "/stylesheets/site-e5a31a3e.css" # When I go to "/stylesheets/site-e5a31a3e.css"