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

Fixes #15083: add puppet modules to the list of fenced pages. #6055

Merged
merged 1 commit into from May 18, 2016

Conversation

waldenraines
Copy link
Contributor

Puppet Modules require an organization so add it to the list of fenced
pages that require organizations.

http://projects.theforeman.org/issues/15083

@@ -6,12 +6,12 @@ describe('Factory: FencedPages', function() {
}));

it("should list all the fenced pages", function () {
expect(FencedPages.list().length).toBe(10);
expect(FencedPages.list().length).toBe(11);
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the purpose of this test? What kind of bugs are we expecting it to catch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question for @xprazak2 😉

I can improve this test if we want.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd vote for removing this test and having the addPages test check that the length is incremented by 2 but I'll let it be your call.

@daviddavis
Copy link
Contributor

ACK from me.

Puppet Modules require an organization so add it to the list of fenced
pages that require organizations.

http://projects.theforeman.org/issues/15083
@waldenraines
Copy link
Contributor Author

@daviddavis updated to remove test and fix check on addPages() test.

@daviddavis
Copy link
Contributor

👍

ACK x 2.

@waldenraines waldenraines merged commit 38b0409 into Katello:master May 18, 2016
@waldenraines waldenraines deleted the 15083 branch May 18, 2016 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants