Sha256: 4a1a9776119e18d06c841863ff01a3ff9a654eef945b4e510dc381bf5310d15a

Contents?: true

Size: 1.1 KB

Versions: 40

Compression:

Stored size: 1.1 KB

Contents

Feature: Parse CSL info elements
	As a hacker of CSL styles
	I want to be able to parse CSL info strings
	
	Scenario: A typical style info element
		When I parse the CSL string
			"""
			<info>
		    <title>American Medical Association</title>
		    <id>http://www.zotero.org/styles/ama</id>
		    <link href="http://www.zotero.org/styles/ama" rel="self"/>
		    <author>
		      <name>Julian Onions</name>
		      <email>julian.onions@gmail.com</email>
		    </author>
		    <category citation-format="numeric"/>
		    <category field="medicine"/>
		    <updated/>
		    <summary>The American Medical Association style as used in JAMA.</summary>
		    <link href="http://www.samford.edu/schools/pharmacy/dic/amaquickref07.pdf" rel="documentation"/>
		    <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
		  </info>
			"""
		Then the nodename should be "info"
		And the title should be "American Medical Association"
		And the author name should be "Julian Onions"
		And the author email should be "julian.onions@gmail.com"

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
csl-1.0.0.pre20 features/parser/info.feature
csl-1.0.0.pre19 features/parser/info.feature
csl-1.0.0.pre18 features/parser/info.feature
csl-1.0.0.pre17 features/parser/info.feature
csl-1.0.0.pre16 features/parser/info.feature
csl-1.0.0.pre15 features/parser/info.feature
csl-1.0.0.pre14 features/parser/info.feature
csl-1.0.0.pre13 features/parser/info.feature
csl-1.0.0.pre12 features/parser/info.feature
csl-1.0.0.pre11 features/parser/info.feature
csl-1.0.0.pre10 features/parser/info.feature
csl-1.0.0.pre9 features/parser/info.feature
csl-1.0.0.pre8 features/parser/info.feature
csl-1.0.0.pre7 features/parser/info.feature
csl-1.0.0.pre6 features/parser/info.feature
csl-1.0.0.pre5 features/parser/info.feature
csl-1.0.0.pre4 features/parser/info.feature
csl-1.0.0.pre3 features/parser/info.feature
csl-1.0.0.pre2 features/parser/info.feature
csl-1.0.0.pre1 features/parser/info.feature