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

I206 questioning authorities #207

Merged
merged 6 commits into from
Mar 30, 2023
Merged

I206 questioning authorities #207

merged 6 commits into from
Mar 30, 2023

Conversation

kirkkwang
Copy link
Contributor

@kirkkwang kirkkwang commented Mar 30, 2023

ref: #206

image

image

Add fixtures and move them to test app

This commit will add rights_statements and licenses to spec fixtures and
adds a rake task to move them into the internal test app so they can be
used for specs.


Add the ability to render questioning authorities

This commit will enable rights_statement and license to render the term
and not the URI.


Only keep the authorities used in the test

It seems unnecessary to have all the authorities. This commit removes
everything except for the ones used in the test.


Adjust GitHub CI steps

Prior to this commit, the jobs:test:setup_db_cmd only ran the
engine_cart:generate command. This commit will add a custom task that
runs generate and copies over the authorities before specs run.

This commit will add rights_statements and licenses to spec fixtures and
adds a rake task to move them into the internal test app so they can be
used for specs.
This commit will enable rights_statement and license to render the term
and not the URI.
It seems unnecessary to have all the authorities.  This commit removes
everything except for the ones used in the test.
Prior to this commit, the jobs:test:setup_db_cmd only ran the
engine_cart:generate command.  This commit will add a custom task that
runs generate and copies over the authorities before specs run.
In a tangentially related topic, links were not renderings correctly
when starting with just `www.` which caused the metadata pane links to
not open correctly.  Also, adjusted the REGEX to better catch link-like
strings.
Copy link
Contributor

@laritakr laritakr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I'm a bit confused about how the specs work with setup_db_cmd. Is it needed to have spec included there?

@kirkkwang
Copy link
Contributor Author

@laritakr Good call, looks like we didn't need that :spec there, I think it was doing a double test which of course is unwanted haha

@kirkkwang kirkkwang merged commit 2c20ca1 into main Mar 30, 2023
@kirkkwang kirkkwang deleted the i206-questioning-authorities branch March 30, 2023 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants