Fix project creation test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-03-14 12:19:02 +02:00
parent 0d7986a8c7
commit b007cadf55
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
3 changed files with 3 additions and 3 deletions

View file

@ -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
Then Remote url should update to ssh link

View file

@ -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

View file

@ -4,4 +4,3 @@ desc "GITLAB | Run all tests"
task :test do
Rake::Task["gitlab:test"].invoke
end