From 5d8cd87c5006f467e7c7985ce38d42b51c0bbb66 Mon Sep 17 00:00:00 2001 From: blackst0ne Date: Mon, 14 May 2018 18:55:41 +1100 Subject: Remove /features --- features/steps/shared/note.rb | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 features/steps/shared/note.rb (limited to 'features/steps/shared/note.rb') 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 -- cgit v1.2.1