Move encoding tests into a dynamic form so they aren't packaged with gemspecs on unsupported platforms.
This commit is contained in:
parent
cf8314ecab
commit
518ae3f46d
|
@ -1,14 +1,36 @@
|
||||||
|
@encoding
|
||||||
|
|
||||||
Feature: Unicode filenames
|
Feature: Unicode filenames
|
||||||
In order to support non-ASCII characters in filenames
|
In order to support non-ASCII characters in filenames
|
||||||
|
|
||||||
#Scenario: Build with files containing unicode characters in their name
|
Scenario: Build with files containing unicode characters in their name
|
||||||
# Given a successfully built app at "unicode-filenames-app"
|
Given a fixture app "empty-app"
|
||||||
# When I cd to "build"
|
And a file named "config.rb" with:
|
||||||
# Then the file "snowmen-rule-☃.html" should contain "☃"
|
"""
|
||||||
|
"""
|
||||||
|
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 "☃"
|
||||||
|
|
||||||
Scenario: Preview with files containing unicode characters in their name
|
Scenario: Preview with files containing unicode characters in their name
|
||||||
Given the Server is running at "unicode-filenames-app"
|
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
|
||||||
When I go to "/snowmen-rule-☃.html"
|
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!"
|
Then I should see "Snowman!"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
Snowman!
|
|
||||||
<div style="text-align:center; font-size:4000%;">
|
|
||||||
☃
|
|
||||||
</div>
|
|
Loading…
Reference in a new issue