Commit 2d0fcb4d authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix spinach tests introduced by 07101cfa

parent 6c1faf4b
...@@ -7,24 +7,24 @@ Background: ...@@ -7,24 +7,24 @@ Background:
And I click "New project" link And I click "New project" link
@javascript @javascript
Scenario: I should see New projects page Scenario: I should see New Projects page
Then I see "New project" page Then I see "New Project" page
Then I see all possible import optios Then I see all possible import optios
@javascript @javascript
Scenario: I should see instructions on how to import from Git URL Scenario: I should see instructions on how to import from Git URL
Given I see "New project" page Given I see "New Project" page
When I click on "Any repo by URL" When I click on "Any repo by URL"
Then I see instructions on how to import from Git URL Then I see instructions on how to import from Git URL
@javascript @javascript
Scenario: I should see instructions on how to import from GitHub Scenario: I should see instructions on how to import from GitHub
Given I see "New project" page Given I see "New Project" page
When I click on "Import project from GitHub" When I click on "Import project from GitHub"
Then I see instructions on how to import from GitHub Then I see instructions on how to import from GitHub
@javascript @javascript
Scenario: I should see Google Code import page Scenario: I should see Google Code import page
Given I see "New project" page Given I see "New Project" page
When I click on "Google Code" When I click on "Google Code"
Then I redirected to Google Code import page Then I redirected to Google Code import page
...@@ -3,13 +3,13 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps ...@@ -3,13 +3,13 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps
include SharedPaths include SharedPaths
include SharedProject include SharedProject
step 'I click "New project" link' do step 'I click "New Project" link' do
page.within('.content') do page.within('.content') do
click_link "New project" click_link "New Project"
end end
end end
step 'I see "New project" page' do step 'I see "New Project" page' do
expect(page).to have_content('Project path') expect(page).to have_content('Project path')
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