Skip to content

Conversation

@75pollet
Copy link

@75pollet 75pollet commented Oct 6, 2019

Fixes #38

Description

Other information

Checklist:

  • My pull request has a descriptive title (not a vague title like Update index.md).
  • My pull request targets the master branch of the repository.
  • My commit messages follow best practices.
  • I added tests for the changes I made (if applicable).
  • I added or updated documentation (if applicable).
  • I tried running the project locally and verified that there are no
    visible errors.

Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Copy link
Member

@akmadian akmadian left a comment

Choose a reason for hiding this comment

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

A few things I've noticed, I assume that this is still a work in progress so please don't feel like I'm judging you harshly right off the bat

  • Only selectedLicense is a prop. The adapt and description are computed properties, and as I far as I can tell, you can't pass computed properties with propsData.
  • Please move the spec file into ./test/unit/specs/components/ I just switched this up and I'm trying to keep everything organized.
  • If your PR is still a work in progress, please add "WIP: " to the start of your PR title, and remove it when you're done so I know you're ready for a final review :)

@75pollet 75pollet changed the title Test the License description component WIP: Test the License description component Oct 7, 2019
@75pollet
Copy link
Author

75pollet commented Oct 7, 2019

@akmadian thanks for the corrections. Making the changes right away

@akmadian akmadian dismissed their stale review October 7, 2019 16:20

Changes made! Please keep in mind that I would still like for the computed props to be tested in some way, though.

@75pollet 75pollet changed the title WIP: Test the License description component Test the License description component Oct 14, 2019
@akmadian
Copy link
Member

Thanks, @75pollet! Sorry it took me a while to get to this, merging now :)

@akmadian akmadian merged commit 35d117d into creativecommons:master Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write tests for LicenseDescription component

3 participants