History for dmpopidor / test
2017-04-05
@briley
added roles controller tests and updated controller to use strong params and handle failures properly
briley committed on 5 Apr 2017
2017-04-04
@briley
patched organisation_type reference in view, added secure params to orgs controller. Added functional tests for orgs controller
briley committed on 4 Apr 2017
@briley
added checks to make sure records are actually created/updated/deleted
briley committed on 4 Apr 2017
2017-04-03
@briley
added notes controller tests
briley committed on 3 Apr 2017
@briley
added home controller test. updated test helper to reload LANGUAGES constant if its blank during TravisCI build
briley committed on 3 Apr 2017
@briley
resolved rebase conflicts from merge with development
briley committed on 3 Apr 2017
@briley
cleaned up guidances controller and added functional tests
briley committed on 3 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
removed 'freeze from Perm constant definitions. this is deprecated in Rails 4
briley committed on 30 Mar 2017
@briley
removed 'freeze from Perm constant definitions. this is deprecated in Rails 4
briley committed on 30 Mar 2017
@briley
switch from doing Perm.where(name: [...]) to [Perm::VALUE, ...] in test_helper
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
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
Added yet more debug lines for travis
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
removed LANGUAGES fix from test_helper
briley committed on 30 Mar 2017
@briley
added require statement for test_helper into all functional tests
briley committed on 30 Mar 2017
@briley
added step to check LANGAUGES and reload if necessary in test_helper
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
fixed issue with missing attributes in registrations controller. added some debug line for travis issues
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
@briley
added debug line for travis failure testing
briley committed on 30 Mar 2017
@briley
switched I18n.locale to FastGettext
briley committed on 30 Mar 2017