History for dmpopidor / test
2017-04-13
@briley
updates to locking mechanism because it ActiveRecord does not catch 2 creates DMPRoadmap/roadmap#241
briley committed on 13 Apr 2017
2017-04-11
@briley
Updated test so that it does not provide a version or org so that we match what the form is doing DMPRoadmap/roadmap#191
briley committed on 11 Apr 2017
2017-04-10
@briley
removed test that checks fastgettext locale value after sign_in. Having trouble testing Fastgettext in the application_controller test as well.
briley committed on 10 Apr 2017
@briley
finished functional tests DMPRoadmap/roadmap/#212
briley committed on 10 Apr 2017
@briley
further bug fix for show_export page and controller test for this endpoint
briley committed on 10 Apr 2017
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-06
@briley
fixed issues in tests after merge and added tests for plans controller
briley committed on 6 Apr 2017
@briley
added initial plans controller tests
briley committed on 6 Apr 2017
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