History for dmpopidor / test / test_helper.rb
2017-03-30
@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 yet more debug lines for travis
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 step to check LANGAUGES and reload if necessary in test_helper
briley committed on 30 Mar 2017
@briley
fixed issue with missing attributes in registrations controller. added some debug line for travis issues
briley committed on 30 Mar 2017
@briley
removed travis debug line. For some reason phases controller test is calling find_org_admin twice
briley committed on 30 Mar 2017
@briley
added debug line for travis failure testing
briley committed on 30 Mar 2017
@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