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

OpsRbac - specs for user add/edit #3916

Merged
merged 8 commits into from
May 15, 2018
Merged

OpsRbac - specs for user add/edit #3916

merged 8 commits into from
May 15, 2018

Conversation

himdel
Copy link
Contributor

@himdel himdel commented May 9, 2018

Depends on ManageIQ/manageiq#17397

Related to #3894, #3767, #3345 and #3714.

There's been too many problems recently with the code to add/edit a user in the UI - I've written specs for each of those problems (including a pending spec for the problem being fixed in #3894).

(Creating a new spec file, since ops_controller/ops_rbac_spec.rb is already too long and only deals with tenant, while user/group stuff is either untested or mixed together with the rest in ops_controller_spec.rb)

Cc @lgalis , @ZitaNemeckova

@himdel himdel changed the title Rbac user spec OpsRbac - specs for user add/edit May 9, 2018
@himdel himdel closed this May 14, 2018
@himdel himdel reopened this May 14, 2018
himdel added 2 commits May 15, 2018 10:44
on the one hand, these are tests written to check for specific regressions
on the other, no other specs mention BZ numbers
@himdel
Copy link
Contributor Author

himdel commented May 15, 2018

@skateman I moved the methods to a helper, and removed the BZ numbers from the examples.

=> If anybody needs to know why a spec should not be failing, please read the relevant commit messages for BZ numbers.

Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

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

The Seal of Approval

@miq-bot
Copy link
Member

miq-bot commented May 15, 2018

Checked commits https://github.com/himdel/manageiq-ui-classic/compare/6f7f34ba7af4d14e6d08628fb6a77cdbe4a28ffa~...b6efd5e2afd9d3719312e5dc3276045099cb2850 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@mzazrivec mzazrivec self-assigned this May 15, 2018
@mzazrivec mzazrivec added this to the Sprint 86 Ending May 21, 2018 milestone May 15, 2018
@mzazrivec mzazrivec merged commit c93d73a into ManageIQ:master May 15, 2018
@himdel himdel deleted the rbac-user-spec branch May 15, 2018 13:00
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.

4 participants