History for dmpopidor / test / functional / sections_controller_test.rb
2017-04-07
@Brian Riley
broken generic error message handler apart into separate create/update/destroy versions. updated calls within the controllers and fixed tests DMPRoadmap/roadmap#227
Brian Riley committed on 7 Apr 2017
2017-04-04
@briley
added checks to make sure records are actually created/updated/deleted
briley committed on 4 Apr 2017
2017-03-30
@briley
switched all Perm::CONSTANT to Perm.scope calls. Travis could not handle CONSTANT definitions likely due to rails/ruby evironment. Its better to use scope for queries anyway
briley committed on 30 Mar 2017
@briley
added debug to sections controller test
briley committed on 30 Mar 2017
@briley
removed debug lines and got tests pasing locally
briley committed on 30 Mar 2017
@briley
added hack to override the application controller's current_user since its nil in the controller and causing policy check to fail in Travis
briley committed on 30 Mar 2017
@briley
debug statements to track user object and its roles through test->controller->policy
briley committed on 30 Mar 2017
@briley
put controller test debug statements in to check tmplt and user orgs and then checks before/after policy check
briley committed on 30 Mar 2017
@briley
removed 'first' invocation from @template in controller tests
briley committed on 30 Mar 2017
@briley
template being used to create user on template,phase,section,question and guidance_group controller tests did not match the scaffolded template
briley committed on 30 Mar 2017
@briley
added require statement for test_helper into all functional tests
briley committed on 30 Mar 2017
@briley
discovered that phases_controller_test and sectionscontroller_test were both defined as PhasesControllerTest
briley committed on 30 Mar 2017
2017-03-29
@briley
added tests for guidance_group controller and added method to test helper to get org admin DMPRoadmap/roadmap#212
briley committed on 29 Mar 2017
@briley
added initial tests for guidance_groups_controller
briley committed on 29 Mar 2017
@briley
updated phases controller to use error messaging helper. added functional tests for the sections controller
briley committed on 29 Mar 2017
2017-01-10
@briley
switched visibility to be a bit flag using FlagShihTzu instead of a lookup table. adjusted db migration. Removed all of the empty stub test files generated by the rails scaffolding mechanism.
briley committed on 10 Jan 2017
2016-08-12
@Damodar Sojka
Merging master (#20) ...
Damodar Sojka authored on 12 Aug 2016 Brian Riley committed on 12 Aug 2016
2016-06-28
@briley
Commented out failing unit and functional controller tests
briley committed on 28 Jun 2016
2016-06-03
@Marta Ribeiro
DMPonline4 - RAILS 4.0 (#4) ...
Marta Ribeiro authored on 3 Jun 2016 Brian Riley committed on 3 Jun 2016