From 4a74875d23a51b59ac3ca8f177b6685a5123a7ef Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Wed, 20 Dec 2017 15:12:46 +0000 Subject: [PATCH] Remove two unused step definitions from spinach --- features/steps/project/source/browse_files.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb index 6e04f09f322..93b057430d3 100644 --- a/features/steps/project/source/browse_files.rb +++ b/features/steps/project/source/browse_files.rb @@ -278,17 +278,6 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps expect(page).to have_content('Your changes could not be committed') end - step 'I create bare repo' do - click_link 'Create empty bare repository' - end - - step 'I click on "README" link' do - click_link 'README' - - # Remove pre-receive hook so we can push without auth - FileUtils.rm_f(File.join(@project.repository.path, 'hooks', 'pre-receive')) - end - step "I switch ref to 'test'" do first('.js-project-refs-dropdown').click