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:
Juan Salvador Pérez García
2018-08-01 13:26:30 +02:00
parent 0e20247682
commit 5b5095b37b
11 changed files with 88 additions and 115 deletions

View File

@@ -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