Commit 4a74875d authored by Nick Thomas's avatar Nick Thomas

Remove two unused step definitions from spinach

parent 7ed3759e
...@@ -278,17 +278,6 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps ...@@ -278,17 +278,6 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
expect(page).to have_content('Your changes could not be committed') expect(page).to have_content('Your changes could not be committed')
end 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 step "I switch ref to 'test'" do
first('.js-project-refs-dropdown').click first('.js-project-refs-dropdown').click
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment