Skip to content

Nested classes/pdoc 35 #41

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

Merged
merged 2 commits into from
Jul 30, 2015

Conversation

iankronquist
Copy link
Contributor

No description provided.

Subclasses have their superclass as part of their namespace and objects in the
subclass's namespace must be registered first.
Reverse the list of parsed objects so
that the classes will be handled and registered in the correct order.
expect(read_html(tmp, 'test',
'outer/middle.html')).to include("Puppet Class: middle")
expect(read_html(tmp, 'test',
'outer/middle/inner.html')).to include("Puppet Class: inner")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be worthwhile to check in the test that the classes have the expected namespaces. I believe the namespace for each class should reflect the class it's nested in.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That description is also incorrect.

@iankronquist iankronquist force-pushed the nested-classes/pdoc-35 branch from eb3e622 to 457ec86 Compare July 28, 2015 21:56
@iankronquist
Copy link
Contributor Author

@HAIL9000 added a test to address your comment and fixed test name.

@iankronquist
Copy link
Contributor Author

@HAIL9000 I think Shaigy wants to test this. Would you mind looking at this again?

HAIL9000 added a commit that referenced this pull request Jul 30, 2015
@HAIL9000 HAIL9000 merged commit b1b27a3 into puppetlabs:master Jul 30, 2015
@chelnak chelnak added the bugfix label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants