Commit b007cadf5534e4202a955825770019787a37f7d6

Authored by Dmitriy Zaporozhets
1 parent 0d7986a8

Fix project creation test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
features/project/create.feature
... ... @@ -3,6 +3,7 @@ Feature: Create Project
3 3 A user with ability to create a project
4 4 Should be able to create a new one
5 5  
  6 + @javascript
6 7 Scenario: User create a project
7 8 Given I sign in as a user
8 9 When I visit new project page
... ... @@ -19,4 +20,4 @@ Feature: Create Project
19 20 And I click on HTTP
20 21 Then Remote url should update to http link
21 22 And If I click on SSH
22   - Then Remote url should update to ssh link
23 23 \ No newline at end of file
  24 + Then Remote url should update to ssh link
... ...
features/steps/project/create.rb
... ... @@ -8,8 +8,8 @@ class CreateProject &lt; Spinach::FeatureSteps
8 8 end
9 9  
10 10 Then 'I should see project page' do
11   - current_path.should == project_path(Project.last)
12 11 page.should have_content "Empty"
  12 + current_path.should == project_path(Project.last)
13 13 end
14 14  
15 15 And 'I should see empty project instuctions' do
... ...
lib/tasks/test.rake
... ... @@ -4,4 +4,3 @@ desc &quot;GITLAB | Run all tests&quot;
4 4 task :test do
5 5 Rake::Task["gitlab:test"].invoke
6 6 end
7   -
... ...