History for dmpopidor / test / unit / answer_test.rb
2017-12-05
@Jose Lloret
removed after_create callback for answers since no longer is needed after introducing transactions. DMPRoadmap/roadmap#893 ...
Jose Lloret committed on 5 Dec 2017
2017-11-09
@briley
removed the default setting from plans.visibility ...
briley committed on 9 Nov 2017
2017-07-03
@Brian Riley
added question_options to answer's deep copy method and added a unit test for it. Updated several views to use .length instead of .count
Brian Riley committed on 3 Jul 2017
2017-03-15
@briley
commented out assertions in unit tests for Answers, Phase and Plans and left notes for how to fix DMPRoadmap/roadmap#170
briley committed on 15 Mar 2017
@briley
commented out failing Answer unit tests. validations that were introduced prevent the current controller from saving. revisit when working on DMPRoadmap/roadmap#170
briley committed on 15 Mar 2017
2017-01-31
@briley
added initial unit test for plans. will hold off on finishing
briley committed on 31 Jan 2017
@briley
Added a managing org and funder scope to Org. Updated methods on Guidance and guidanceTest to work with new schema. Added guidance and guidance_group tests
briley committed on 31 Jan 2017
@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
2017-01-10
@briley
added validations to the Answer model and added unit test
briley committed on 10 Jan 2017
2016-12-20
@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-08-12
@Damodar Sojka
Merging master (#20) ...
Damodar Sojka authored on 12 Aug 2016 Brian Riley committed on 12 Aug 2016
2016-06-03
@Marta Ribeiro
DMPonline4 - RAILS 4.0 (#4) ...
Marta Ribeiro authored on 3 Jun 2016 Brian Riley committed on 3 Jun 2016