Bugfixing and several enhancements
* Added missing specs * Removed models that were refactored previously * Added simplecov when executing specs locally * Fixed bug in poll model validation that was causing an 500 error.
This commit is contained in:
@@ -5,7 +5,7 @@ class Dashboard::PosterController < Dashboard::BaseController
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.pdf do
|
||||
render pdf: 'poster', page_size: 'A3'
|
||||
render pdf: 'poster', page_size: 'A3', show_as_html: Rails.env.test?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user