From b007cadf5534e4202a955825770019787a37f7d6 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Fri, 14 Mar 2014 12:19:02 +0200 Subject: [PATCH] Fix project creation test Signed-off-by: Dmitriy Zaporozhets --- features/project/create.feature | 3 ++- features/steps/project/create.rb | 2 +- lib/tasks/test.rake | 1 - 3 files changed, 3 insertions(+), 3 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 diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake index 24d55b9455a..f19da1bb437 100644 --- a/lib/tasks/test.rake +++ b/lib/tasks/test.rake @@ -4,4 +4,3 @@ desc "GITLAB | Run all tests" task :test do Rake::Task["gitlab:test"].invoke end -