2012-06-20 20:53:14 -04:00
|
|
|
@encoding @travishatesme @wip
|
2012-06-18 18:18:16 -04:00
|
|
|
|
2012-04-01 23:52:22 -04:00
|
|
|
Feature: Unicode filenames
|
|
|
|
In order to support non-ASCII characters in filenames
|
|
|
|
|
2012-06-18 18:18:16 -04:00
|
|
|
Scenario: Build with files containing unicode characters in their name
|
|
|
|
Given a fixture app "empty-app"
|
|
|
|
And a file named "config.rb" with:
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
And a file named "source/snowmen-rule-☃.html" with:
|
|
|
|
"""
|
|
|
|
Snowman!
|
|
|
|
<div style="text-align:center; font-size:4000%;">
|
|
|
|
☃
|
|
|
|
</div>
|
|
|
|
"""
|
|
|
|
And a successfully built app at "empty-app"
|
|
|
|
When I cd to "build"
|
|
|
|
Then the file "snowmen-rule-☃.html" should contain "☃"
|
2012-04-01 23:52:22 -04:00
|
|
|
|
|
|
|
Scenario: Preview with files containing unicode characters in their name
|
2012-06-18 18:18:16 -04:00
|
|
|
Given a fixture app "empty-app"
|
|
|
|
And a file named "config.rb" with:
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
And a file named "source/snowmen-rule-☃.html" with:
|
|
|
|
"""
|
|
|
|
Snowman!
|
|
|
|
<div style="text-align:center; font-size:4000%;">
|
|
|
|
☃
|
|
|
|
</div>
|
|
|
|
"""
|
|
|
|
And the Server is running
|
2012-04-01 23:52:22 -04:00
|
|
|
When I go to "/snowmen-rule-☃.html"
|
2012-06-18 18:18:16 -04:00
|
|
|
Then I should see "Snowman!"
|