Skip to content

Commit

Permalink
rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Dec 18, 2023
1 parent 38299ad commit 08f0d10
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions spec/isodoc/metadata_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
<date type="vote-started"><on>2021</on></date>
<date type="vote-ended"><on>2022</on></date>
<date type="corrected"><on>2023</on></date>
<date type="adapted"><on>2024</on></date>
<date type="announced"><on>2025</on></date>
<date type="stable_until"><on>2026</on></date>
<edition>2</edition><edition language="en">second edition</edition>
<version>
<revision-date>2016-05-01</revision-date>
Expand Down Expand Up @@ -129,7 +132,9 @@
output = <<~OUTPUT
{:accesseddate=>"2012",
:activateddate=>"2013",
:adapteddate=>"2024",
:agency=>"ISO",
:announceddate=>"2025",
:authors=>["Barney Rubble", "Fred Flintstone", "B. B. Rubble"],
:authors_affiliations=>{"Chief Engineer, Slate Inc., Hermeneutics Unit, Exegesis Subunit, Bedrock"=>["Barney Rubble"], ""=>["Fred Flintstone", "B. B. Rubble"]},
:circulateddate=>"2015",
Expand Down Expand Up @@ -165,6 +170,7 @@
:revdate=>"2016-05-01",
:revdate_monthyear=>"May 2016",
:script=>"Latn",
:stable_untildate=>"2026",
:stage=>"Committee Draft",
:stage_display=>"Committee Draft",
:stageabbr=>"CD",
Expand Down Expand Up @@ -262,7 +268,9 @@
INPUT
output = <<~OUTPUT
{:accesseddate=>"XXX",
:adapteddate=>"XXX",
:agency=>"ISO/IEC/IEEE",
:announceddate=>"XXX",
:circulateddate=>"XXX",
:confirmeddate=>"XXX",
:copieddate=>"XXX",
Expand Down Expand Up @@ -294,6 +302,7 @@
:revdate=>"2016-05",
:revdate_monthyear=>"May 2016",
:script=>"Latn",
:stable_untildate=>"XXX",
:stage=>"Published",
:stage_display=>"Published",
:subdivision=>"Subdivision",
Expand Down Expand Up @@ -336,7 +345,9 @@
INPUT
output = <<~OUTPUT
{:accesseddate=>"XXX",
:adapteddate=>"XXX",
:agency=>"NAME1/NAME",
:announceddate=>"XXX",
:circulateddate=>"XXX",
:confirmeddate=>"XXX",
:copieddate=>"XXX",
Expand All @@ -350,6 +361,7 @@
:publisher=>"NAME1 and NAME",
:receiveddate=>"XXX",
:script=>"Latn",
:stable_untildate=>"XXX",
:transmitteddate=>"XXX",
:unchangeddate=>"XXX",
:unpublished=>true,
Expand Down Expand Up @@ -440,7 +452,9 @@
INPUT
output = <<~OUTPUT
{:accesseddate=>"XXX",
:adapteddate=>"XXX",
:agency=>"ISO/IEC",
:announceddate=>"XXX",
:circulateddate=>"XXX",
:confirmeddate=>"XXX",
:copieddate=>"XXX",
Expand All @@ -463,6 +477,7 @@
:revdate=>"2016-05",
:revdate_monthyear=>"Mai 2016",
:script=>"Latn",
:stable_untildate=>"XXX",
:stage=>"Committee Draft",
:stage_display=>"Projet De Comité",
:stageabbr=>"CD",
Expand Down

0 comments on commit 08f0d10

Please sign in to comment.