History for dmpopidor / test / test_helper.rb
2017-03-30
@briley
switched I18n.locale to FastGettext
briley committed on 30 Mar 2017
@briley
added language and first/last name to test_helper that creates an org admin. fails on travis for some reason
briley committed on 30 Mar 2017
2017-03-29
@briley
added tests for guidance_group controller and added method to test helper to get org admin DMPRoadmap/roadmap#212
briley committed on 29 Mar 2017
2017-03-24
@briley
added logic to db/seeds.rb to always create a default org for the one defined in config/branding.yml. This is the managing org
briley committed on 24 Mar 2017
2017-03-21
@briley
fixes to some of the functional tests to use FastGettext instead of I18n
briley committed on 21 Mar 2017
2017-02-28
@briley
fixed merge conflicts in schema.rb and test_helper.rb
briley committed on 28 Feb 2017
2017-02-07
@briley
Updated projects_helper by renaming 'project_list_column_body' to 'plan_list_column_body'. updated references to that code block. moved hard-coded 'Unknown' to locale files. Added tests for projects_helper
briley committed on 7 Feb 2017
2017-02-06
@briley
corrected test for title check of the 'my plans' page
briley committed on 6 Feb 2017
2017-02-04
@Brian Riley
added answers_controller tests
Brian Riley committed on 4 Feb 2017
2017-02-03
@Brian Riley
fixed issue with static_pages_controller_test
Brian Riley committed on 3 Feb 2017
@Brian Riley
updated test_helper to use model_name.human.pluralize.titleize instead of calling out to I18n
Brian Riley committed on 3 Feb 2017
@Brian Riley
updated generic deep copy test to check for uniqueness of excluded attributes (e.g. id, slug, dates, etc.). Fixed typo in Question.deep_copy. Added calls to deep_copy test for template, phase and section
Brian Riley committed on 3 Feb 2017
@Brian Riley
removed old references to the Amoeba gem which was used to clone models. Fixed typo in Question.deep_copy. Added generic test for deep_copy methods.
Brian Riley committed on 3 Feb 2017
2017-02-02
@briley
added suggested_answer unit tests and started on template unit tests
briley committed on 2 Feb 2017
2017-01-31
@briley
added initial unit test for plans. will hold off on finishing
briley committed on 31 Jan 2017
@briley
fixed language tests
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
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
removed old test fixtures and replaced with seeds.rb data. no point in maintaining both
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
2017-01-10
@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
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-12-14
@briley
finished up application controller tests
briley committed on 14 Dec 2016
2016-12-12
@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
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
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-02
@briley
fixed issue with settings data saved to the DB using an old version of the gem. stripped html tags from question text for display in the export form.
briley committed on 2 Nov 2016