Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
Fix/Re-Enable some RSpec features tests that were being previously being skipped
The "Create a new plan" test (spec/features/plans_spec.rb) was previously skipped. Although, it is working for DMPRoadmap, it was not compatible with DMP Assistant. This PR edits the test (specifically regarding "default funder" handling, as well as the differences in the UI of the /plans/new page) to make it work with DMP Assistant.
Features tests within spec/features/locales_spec.rb were also previously skipped. When selecting a locale, there must be a corresponding dmp_logo_XX.png within the asset pipeline, where "XX" corresponds with the locale's abbreviation. This PR edits the locales within this file to only ones where there is a corresponding dmp_logo_XX.png file within the asset pipeline.
Fixes #797
Changes proposed in this PR:
spec/features/plans_spec.rb
) was previously skipped. Although, it is working for DMPRoadmap, it was not compatible with DMP Assistant. This PR edits the test (specifically regarding "default funder" handling, as well as the differences in the UI of the/plans/new
page) to make it work with DMP Assistant.spec/features/locales_spec.rb
were also previously skipped. When selecting a locale, there must be a correspondingdmp_logo_XX.png
within the asset pipeline, where "XX" corresponds with the locale's abbreviation. This PR edits the locales within this file to only ones where there is a correspondingdmp_logo_XX.png
file within the asset pipeline.