History for dmpopidor / test / functional
2017-03-30
@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
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
debug for travis
briley committed on 30 Mar 2017
@briley
debug for travis
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
@briley
removed travis debug line. For some reason phases controller test is calling find_org_admin twice
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
removed unused contacts_controller. added test for email confirmations controller
briley committed on 29 Mar 2017
@briley
fixed tests for questions controller. removed exclamationpoint from save on questions controller
briley committed on 29 Mar 2017
@briley
Added questions controller tests
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
@briley
updated phases and templates tests to work with updated error messaging
briley committed on 29 Mar 2017
2017-03-28
@briley
added tests for phases controller. Added necessary tweaks to correct failure routes within controller actions
briley committed on 28 Mar 2017
@briley
added generic 'Unable to save your changes' message for template create/update failures
briley committed on 28 Mar 2017
@briley
finished tests for invalid objects and added notes to have us add proper error messaging later on
briley committed on 28 Mar 2017
@briley
added tests for saving and creating invalid templates
briley committed on 28 Mar 2017
@briley
updated seeds to use managing institution abbreviation instead of hard-coded 'CC'. Added basic functional tests for templates controller with small adjustments to check for nils in view and controller
briley committed on 28 Mar 2017
2017-03-24
@briley
fixed the rest of the tests by swapping out I18n and removing locales from routes
briley committed on 24 Mar 2017
@briley
fixed some of the failing tests. Commented out helpers/plan_list tests because it relied on old I18n helpers to determine column name
briley committed on 24 Mar 2017
2017-03-21
@briley
fixes to some of the functional tests to use FastGettext instead of I18n
briley committed on 21 Mar 2017
2017-03-20
@briley
Noticed that the user/org's language settings were not being factored in during testing. Updated application controller to use the current user's language or the org's language if available. The locale is only set in the session if the user is logged in now. also fixed to some functional tests.
briley committed on 20 Mar 2017
@briley
commented out public dmp tests since we're commenting out that functionality for now
briley committed on 20 Mar 2017
@briley
started switching I18n references in test files to Fastgettext
briley committed on 20 Mar 2017