Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rspec: https://github.com/metanorma/isodoc/issues/630 #267

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Gemfile.devel
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "feature/presentation-terms"
gem "metanorma-generic", git: "https://github.com/metanorma/metanorma-generic", branch: "feature/presentation-terms"
gem "mn-requirements", git: "https://github.com/metanorma/mn-requirements", branch: "main"
15 changes: 13 additions & 2 deletions spec/isodoc/csaconvert_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
<terms id="I" obligation="normative">
<title>Normal Terms</title>
<term id="J">
<preferred>Term2</preferred>
<preferred><expression><name>Term2</name></expression></preferred>
</term>
</terms>
<definitions id="K">
Expand Down Expand Up @@ -291,7 +291,18 @@
<span class="fmt-autonum-delim">.</span>
<semx element="autonum" source="J">1</semx>
</fmt-xref-label>
<preferred>Term2</preferred>
<preferred id="_">
<expression>
<name>Term2</name>
</expression>
</preferred>
<fmt-preferred>
<p>
<semx element="preferred" source="_">
<strong>Term2</strong>
</semx>
</p>
</fmt-preferred>
</term>
</terms>
<definitions id="K">
Expand Down
2 changes: 1 addition & 1 deletion spec/metanorma/processor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<fmt-title>1.<tab/>Terms, Definitions, Symbols and Abbreviated Terms</fmt-title>
<term id="J">
<fmt-name>1.1.</fmt-name>
<preferred>Term2</preferred>
<fmt-preferred><p>Term2</p></fmt-preferred>
</term>
</terms>
</sections>
Expand Down
Loading