Sha256: 3eec8bb797f9200d6e69268e6d3b810eb5c36b176b43b48c34ee7500871fa20b

Contents?: true

Size: 1023 Bytes

Versions: 6

Compression:

Stored size: 1023 Bytes

Contents

@encoding @wip

Feature: Unicode filenames
  In order to support non-ASCII characters in filenames

  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 "☃"

  Scenario: Preview 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 the Server is running
    When I go to "/snowmen-rule-☃.html"
    Then I should see "Snowman!"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
middleman-core-4.6.0 features/unicode_filenames.feature
middleman-core-4.5.1 features/unicode_filenames.feature
middleman-core-4.5.0 features/unicode_filenames.feature
middleman-core-4.4.3 features/unicode_filenames.feature
middleman-core-4.4.2 features/unicode_filenames.feature
middleman-core-4.4.0 features/unicode_filenames.feature