summaryrefslogtreecommitdiff
path: root/app/views/shared/form_elements
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2019-04-04 13:08:34 +0000
committerDouwe Maan <douwe@gitlab.com>2019-04-04 13:08:34 +0000
commite540c0d71e00c4ce031b94cf11ec3de905e87da7 (patch)
treefdd99edfd413a3473fe4a9f72719913decfd9777 /app/views/shared/form_elements
parent30988aecd9fe8223563d02942666683fb1bd29c0 (diff)
downloadgitlab-ce-e540c0d71e00c4ce031b94cf11ec3de905e87da7.tar.gz
Fixed test specs
- added suggestions to mock data - fixed props to be not required
Diffstat (limited to 'app/views/shared/form_elements')
-rw-r--r--app/views/shared/form_elements/_description.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/form_elements/_description.html.haml b/app/views/shared/form_elements/_description.html.haml
index 25df2fe5cd6..b11cb8a3076 100644
--- a/app/views/shared/form_elements/_description.html.haml
+++ b/app/views/shared/form_elements/_description.html.haml
@@ -5,7 +5,7 @@
- supports_quick_actions = model.new_record?
- if supports_quick_actions
- - preview_url = preview_markdown_path(project, quick_actions_target_type: model.class.name)
+ - preview_url = preview_markdown_path(project, target_type: model.class.name)
- else
- preview_url = preview_markdown_path(project)