Sha256: dcc046885d9c55d6c8f747baed36270904c2106f818abaa3233f5cdd6f3fb28f

Contents?: true

Size: 826 Bytes

Versions: 4

Compression:

Stored size: 826 Bytes

Contents

Feature: textcase
  As a CSL cite processor hacker
  I want the test textcase_TitleCaseWithHyphens to pass

  @citation @textcase
  Scenario: Title Case With Hyphens
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation>
        <layout>
          <text variable="title" text-case="title"/>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"Out-of-fashion initiatives: a second story","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Out-of-Fashion Initiatives: A Second Story
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/textcase/TitleCaseWithHyphens.feature
citeproc-1.0.6 features/textcase/TitleCaseWithHyphens.feature
citeproc-1.0.5 features/textcase/TitleCaseWithHyphens.feature
citeproc-1.0.4 features/textcase/TitleCaseWithHyphens.feature