Commit a9ac9ed1 authored by James Lopez's avatar James Lopez

fix import feature

parent c422cef0
...@@ -19,7 +19,8 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps ...@@ -19,7 +19,8 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps
expect(page).to have_link('GitLab.com') expect(page).to have_link('GitLab.com')
expect(page).to have_link('Gitorious.org') expect(page).to have_link('Gitorious.org')
expect(page).to have_link('Google Code') expect(page).to have_link('Google Code')
expect(page).to have_link('Any repo by URL') expect(page).to have_link('Repo by URL')
expect(page).to have_link('GitLab project')
end end
step 'I click on "Import project from GitHub"' do step 'I click on "Import project from GitHub"' do
...@@ -36,7 +37,7 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps ...@@ -36,7 +37,7 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps
end end
end end
step 'I click on "Any repo by URL"' do step 'I click on "Repo by URL"' do
first('.import_git').click first('.import_git').click
end end
......
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