History for dmpopidor / test
2017-01-31
@briley
finished up answer and note unit tests
briley committed on 31 Jan 2017
@briley
unit tests for notes and answers. addded new validator to check whether the question's template matches the plans template
briley committed on 31 Jan 2017
2017-01-30
@briley
updated some of the plan.rb model to deal with outdated calls to dmptemplate. fixed up answer unit tests and added some validations to Answer
briley committed on 30 Jan 2017
@briley
Moved orcid_id from users table to user_identifiers. Added option_based flag to question_formats. switched Object.const_defined to table_exists checks in db migrations because rails loads references to classes on demand so the objects are likely not defined when the migrations run. safer to check for the underlying table's existence
briley committed on 30 Jan 2017
@briley
Moved orcid_id from users table to user_identifiers. Added option_based flag to question_formats. switched Object.const_defined to table_exists checks in db migrations because rails loads references to classes on demand so the objects are likely not defined when the migrations run. safer to check for the underlying table's existence
briley committed on 30 Jan 2017
2017-01-27
@Brian Riley
started reworking answer unit test
Brian Riley committed on 27 Jan 2017
@Brian Riley
replaced use of fixtures with db/seeds.rb. no point in maintaining both
Brian Riley committed on 27 Jan 2017
@Brian Riley
added new seed file that works with new schema. commented out plans and answers for now though because plan model is unfinished
Brian Riley committed on 27 Jan 2017
2017-01-26
@briley
resolved merge conflicts
briley committed on 26 Jan 2017
2017-01-25
@briley
fixed merge conflicts
briley committed on 25 Jan 2017
2017-01-24
@briley
cleaned up tests
briley committed on 24 Jan 2017
@briley
finsihed phase unit tests. added all unit tests that i forgot to add in prior commits
briley committed on 24 Jan 2017
@briley
added organisationtype unit test and finished organisation unit tests
briley committed on 24 Jan 2017
@briley
moving commit from wrong branch to dev
briley committed on 24 Jan 2017
2017-01-21
@Brian Riley
finished guidance_groups test. started on guidance tests
Brian Riley committed on 21 Jan 2017
2017-01-11
@briley
switched visibility over to an enum. updated the project objects accordingly. Added some more unit tests. Updated locale files with visibility text
briley committed on 11 Jan 2017
2017-01-10
@briley
added unit test for exported_plan. added validations to exported_plan and has_many side of relationship to user and plan
briley committed on 10 Jan 2017
@briley
removed tests for methods that should be purged from templates model (See issue #89)
briley committed on 10 Jan 2017
@briley
Added a few 'TODO:' statements indicating some methods we should remove. (Do a "grep -r 'TODO:' ./app"). Added some template and comments unit tests
briley committed on 10 Jan 2017
@briley
added validations to the Answer model and added unit test
briley committed on 10 Jan 2017
@briley
removed organisation_type unit test since its being replaced with a flag on the organisation object
briley committed on 10 Jan 2017
@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
2017-01-06
@Brian Riley
fixed functional tests on static_pages controller
Brian Riley committed on 6 Jan 2017
@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
@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