Commit b007cadf authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix project creation test

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 0d7986a8
...@@ -3,6 +3,7 @@ Feature: Create Project ...@@ -3,6 +3,7 @@ Feature: Create Project
A user with ability to create a project A user with ability to create a project
Should be able to create a new one Should be able to create a new one
@javascript
Scenario: User create a project Scenario: User create a project
Given I sign in as a user Given I sign in as a user
When I visit new project page When I visit new project page
...@@ -19,4 +20,4 @@ Feature: Create Project ...@@ -19,4 +20,4 @@ Feature: Create Project
And I click on HTTP And I click on HTTP
Then Remote url should update to http link Then Remote url should update to http link
And If I click on SSH And If I click on SSH
Then Remote url should update to ssh link Then Remote url should update to ssh link
\ No newline at end of file
...@@ -8,8 +8,8 @@ class CreateProject < Spinach::FeatureSteps ...@@ -8,8 +8,8 @@ class CreateProject < Spinach::FeatureSteps
end end
Then 'I should see project page' do Then 'I should see project page' do
current_path.should == project_path(Project.last)
page.should have_content "Empty" page.should have_content "Empty"
current_path.should == project_path(Project.last)
end end
And 'I should see empty project instuctions' do And 'I should see empty project instuctions' do
......
...@@ -4,4 +4,3 @@ desc "GITLAB | Run all tests" ...@@ -4,4 +4,3 @@ desc "GITLAB | Run all tests"
task :test do task :test do
Rake::Task["gitlab:test"].invoke Rake::Task["gitlab:test"].invoke
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