summaryrefslogtreecommitdiff
path: root/features/steps/shared/note.rb
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-05-14 18:55:41 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2018-05-14 18:55:41 +1100
commit5d8cd87c5006f467e7c7985ce38d42b51c0bbb66 (patch)
treec0d460e2e26ce08df1dfa8fd530420a194c7a187 /features/steps/shared/note.rb
parent5f4dc699434ad86f611897fd6f9f5ca0de8826b5 (diff)
downloadgitlab-ce-5d8cd87c5006f467e7c7985ce38d42b51c0bbb66.tar.gz
Remove /features
Diffstat (limited to 'features/steps/shared/note.rb')
-rw-r--r--features/steps/shared/note.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb
deleted file mode 100644
index 4a6dee3c7b8..00000000000
--- a/features/steps/shared/note.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-module SharedNote
- include Spinach::DSL
- include WaitForRequests
-
- after do
- wait_for_requests if javascript_test?
- end
-
- step 'I haven\'t written any comment text' do
- page.within(".js-main-target-form") do
- fill_in "note[note]", with: ""
- end
- end
-
- step 'The comment preview tab should say there is nothing to do' do
- page.within(".js-main-target-form") do
- find('.js-md-preview-button').click
- expect(find('.js-md-preview')).to have_content('Nothing to preview.')
- end
- end
-end