Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-14 14:19:02 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-14 14:19:02 +0400
commitb007cadf5534e4202a955825770019787a37f7d6 (patch)
treee52543b8da1f5f3e0d39999b82a2bf020092e078 /features
parent0d7986a8c7806a5d7630283f26667f954a5e61f7 (diff)
Fix project creation test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features')
-rw-r--r--features/project/create.feature3
-rw-r--r--features/steps/project/create.rb2
2 files changed, 3 insertions, 2 deletions
diff --git a/features/project/create.feature b/features/project/create.feature
index 395a3218b2b..bb8e3a368ed 100644
--- a/features/project/create.feature
+++ b/features/project/create.feature
@@ -3,6 +3,7 @@ Feature: Create Project
A user with ability to create a project
Should be able to create a new one
+ @javascript
Scenario: User create a project
Given I sign in as a user
When I visit new project page
@@ -19,4 +20,4 @@ Feature: Create Project
And I click on HTTP
Then Remote url should update to http link
And If I click on SSH
- Then Remote url should update to ssh link \ No newline at end of file
+ Then Remote url should update to ssh link
diff --git a/features/steps/project/create.rb b/features/steps/project/create.rb
index b59345e7078..b42e5bd3623 100644
--- a/features/steps/project/create.rb
+++ b/features/steps/project/create.rb
@@ -8,8 +8,8 @@ class CreateProject < Spinach::FeatureSteps
end
Then 'I should see project page' do
- current_path.should == project_path(Project.last)
page.should have_content "Empty"
+ current_path.should == project_path(Project.last)
end
And 'I should see empty project instuctions' do