Remove two unused step definitions from spinach

This commit is contained in:
Nick Thomas 2017-12-20 15:12:46 +00:00
parent 7ed3759ebb
commit 4a74875d23
No known key found for this signature in database
GPG key ID: 2A313A47AFADACE9

View file

@ -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