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

More tests for middleware controllers #693

Merged
merged 2 commits into from
Mar 25, 2017

Conversation

jkremser
Copy link
Member

@jkremser jkremser commented Mar 15, 2017

This PR adds more specs for these middleware controllers:

  • middleware_domain_controller
  • middleware_server_group_controller
  • middleware_server_controller

It tests whether the nested entities were correctly rendered and if there are some special partials like angular popups, we test if the partial was rendered.

@miq-bot add_label technical debt, test

@martinpovolny
Copy link
Member

for the nested lists, please use this:

https://github.com/ManageIQ/manageiq-ui-classic/pull/687/files#diff-d118f90d84bbad8db4cc644b3d8966adR44

@jkremser jkremser changed the title [WIP] more tests for controllers More tests for middleware controllers Mar 22, 2017
@miq-bot miq-bot removed the wip label Mar 22, 2017
@miq-bot
Copy link
Member

miq-bot commented Mar 22, 2017

Checked commits jkremser/manageiq-ui-classic@6108e82~...7541a41 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
3 files checked, 0 offenses detected
Everything looks good. 🍰

@jkremser
Copy link
Member Author

@martinpovolny I finally, found some time to finish this one. Pls take a look, no rush :)

@abonas
Copy link
Member

abonas commented Mar 23, 2017

@miq-bot add_label middleware

@abonas
Copy link
Member

abonas commented Mar 23, 2017

@miq-bot assign @cfcosta
@cfcosta please review. thanks

Copy link

@cfcosta cfcosta left a comment

Choose a reason for hiding this comment

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

LGTM!

@cfcosta
Copy link

cfcosta commented Mar 23, 2017

@miq-bot assign @abonas
Looks good to me :)

@miq-bot miq-bot assigned abonas and unassigned cfcosta Mar 23, 2017
@abonas
Copy link
Member

abonas commented Mar 23, 2017

@miq-bot assign @h-kataria
cc @bronaghs

@miq-bot miq-bot assigned h-kataria and unassigned abonas Mar 23, 2017
@martinpovolny
Copy link
Member

👍 This is the way to go, thx!

@martinpovolny martinpovolny added this to the Sprint 57 Ending Mar 27, 2017 milestone Mar 25, 2017
@martinpovolny martinpovolny merged commit af3e861 into ManageIQ:master Mar 25, 2017
@jkremser jkremser deleted the controller-tests branch March 25, 2017 20:49
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.

6 participants