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

Add tests to the Topic class #33

Open
4 tasks
lizTheDeveloper opened this issue Feb 16, 2018 · 1 comment
Open
4 tasks

Add tests to the Topic class #33

lizTheDeveloper opened this issue Feb 16, 2018 · 1 comment

Comments

@lizTheDeveloper
Copy link
Contributor

lizTheDeveloper commented Feb 16, 2018

Add tests to the Topic class in lib/topic.js.

  • Ensure all yaml-derived properties are set
  • Ensure the slug is set properly
  • Ensure the topic has a reference to all of the courses inside of it in the topic.courses field.
  • Ensure that the render method reproduces what was parsed, even for unsupported yaml fields
@sebaraba
Copy link
Collaborator

I'll start working on this now

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

No branches or pull requests

2 participants