-
Notifications
You must be signed in to change notification settings - Fork 356
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
Use record instead of ems instance var in textual authentication status #2823
Conversation
Generally we want to use Question arrise about why the |
@martinpovolny the only thing I found was something like |
Ok. Please, write a simple spec that will call the stuff used for PDF generation and will reach this method. Thx! |
dbbb16e
to
a554437
Compare
@martinpovolny the PDF generation is not available in the testing environment and mocking the generator would just make the test meaningless. Do you have any ideas? |
Well the PDF generator is fed with some HTML. So just call that HTML rendering the way it's called when the PDF is generated and assert on top of that HTML. Does that make sense? |
19ca41c
to
3f3d11f
Compare
this? |
3f3d11f
to
17028e9
Compare
17028e9
to
a6f3450
Compare
Checked commit skateman@a6f3450 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 app/helpers/textual_mixins/textual_authentications_status.rb
|
Use record instead of ems instance var in textual authentication status (cherry picked from commit f83b8f6) https://bugzilla.redhat.com/show_bug.cgi?id=1520531
Gaprindashvili backport details:
|
Somehow the container PDF report summary generation is different from the other screens. I'm not sure about the fix, @martinpovolny could you please check?
https://bugzilla.redhat.com/show_bug.cgi?id=1516710