History for dmpopidor / test
2017-01-06
@Brian Riley
finsihed adding visibility to project details page as radio button options. Updated public DMPs page to work with new visibility and moved it to the static pages controller since it falls outside of normal security. Updated all locale files accordingly
Brian Riley committed on 6 Jan 2017
2017-01-05
@Brian Riley
added unit test for new visibility model and updated projects test to check visibility
Brian Riley committed on 5 Jan 2017
@Brian Riley
Added visibility model, and started updating tests for public dmps controller but we need to create fixtures which is extremely difficult with the current state of the DB. Will wait for refactor before finishing tests.
Brian Riley committed on 5 Jan 2017
2017-01-04
@briley
working on public dmp export
briley committed on 4 Jan 2017
@briley
worked on routing and controller tests for new public dmps. Fixed routing tests so that they use rails route helpers
briley committed on 4 Jan 2017
@briley
added tests for public DMPs routes and controller endpoints
briley committed on 4 Jan 2017
2017-01-03
@briley
Added is_test and is_public flags to the projects table. Added unit tests for new fields. Removed unecessary attr_accessible section from projects model. Added setters for new flag fields so that only one can be true at a given time
briley committed on 3 Jan 2017
2016-12-21
@briley
added and finalized unit tests for user, token_permission_types, identifier_Schemes, user_identifiers, organisations
briley committed on 21 Dec 2016
2016-12-20
@briley
added unit tests for question format
briley committed on 20 Dec 2016
@briley
attempted to add some unit tests for Answers but the data will be changing so much that it did not make sense to continue at this point. Created tests for Language
briley committed on 20 Dec 2016
2016-12-19
@briley
Added test fixtures for answers, questions, question formats, and answer formats
briley committed on 19 Dec 2016
@briley
removed test fixtures for Settings.
briley committed on 19 Dec 2016
@briley
Added test fixtures for ExportedPlan and Settings.
briley committed on 19 Dec 2016
2016-12-14
@briley
finished up application controller tests
briley committed on 14 Dec 2016
2016-12-12
@briley
updated roles test fixture to use the modified magic string name
briley committed on 12 Dec 2016
@briley
Added magic strings and identifier schemes to new ES locale file. Updated names of magic string categories so that they match the table names
briley committed on 12 Dec 2016
2016-12-08
@briley
fixed bug in new config test
briley committed on 8 Dec 2016
@briley
moved devise config checks to a test
briley committed on 8 Dec 2016
@briley
finished application_helper tests
briley committed on 8 Dec 2016
@briley
added initial application_helper tests
briley committed on 8 Dec 2016
@briley
added simplecov gem for testing to provide us with a test coverage report. Added a test for application_helper.rb. Removed tab characters from application_helper.rb and added some lines to help with readability
briley committed on 8 Dec 2016
2016-11-16
@briley
fixed authentication integration test. updated test_helper to compensate for Devise sometimes having an intermediate redirect
briley committed on 16 Nov 2016
@briley
Added registration controller tests, updated reference to Devise's deprectaed 'bypass' with bypass_sign_in', added some test helper to verify redirects to welcome page (for unauthorized attempts) and projects list page (for authorized). Added language_id back to attr_accessible on User model
briley committed on 16 Nov 2016
@briley
Added registration controller tests, updated reference to Devise's deprectaed 'bypass' with bypass_sign_in', added some test helper to verify redirects to welcome page (for unauthorized attempts) and projects list page (for authorized). Added language_id back to attr_accessible on User model
briley committed on 16 Nov 2016
@briley
Added authentication test and registration controller test. Added troubleshooting info to README. Added generic omniauth id to registration form
briley committed on 16 Nov 2016
2016-11-10
@briley
Had to remove code that was building devise omniauth connections dynamically. The timing of when the rails engine builds the routes and the models is not conducive to this approach
briley committed on 10 Nov 2016
@briley
removed white space
briley committed on 10 Nov 2016
2016-11-09
@briley
Added domain to the identifier_Scheme table. Added unit and functional tests for the identifier_scheme functionality
briley committed on 9 Nov 2016
2016-11-08
@briley
added identifier_Schemes table check to user.rb model. Both ActiveAdmin and Devise attempt to initialize the object during a rake command which forces a 'table does not exist' error.
briley committed on 8 Nov 2016
2016-11-04
@Brian Riley
Added tests for the new omniauth functionality
Brian Riley committed on 4 Nov 2016