Support Unicode characters in filenames, both in source filenames and in the names of proxied paths. Fixes #332.
This commit is contained in:
parent
23e0586896
commit
dddd409336
9 changed files with 46 additions and 13 deletions
14
middleman-core/features/unicode_filenames.feature
Normal file
14
middleman-core/features/unicode_filenames.feature
Normal file
|
@ -0,0 +1,14 @@
|
|||
Feature: Unicode filenames
|
||||
In order to support non-ASCII characters in filenames
|
||||
|
||||
Scenario: Build with files containing unicode characters in their name
|
||||
Given a successfully built app at "unicode-filenames-app"
|
||||
When I cd to "build"
|
||||
Then the file "snowmen-rule-☃.html" should contain "☃"
|
||||
|
||||
Scenario: Preview with files containing unicode characters in their name
|
||||
Given the Server is running at "unicode-filenames-app"
|
||||
When I go to "/snowmen-rule-☃.html"
|
||||
# There seem to be encoding issues w/ the test framework so we can't check the content
|
||||
Then I should see "Snowman!"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue