Commit b007cadf5534e4202a955825770019787a37f7d6
1 parent
0d7986a8
Exists in
spb-stable
and in
3 other branches
Fix project creation test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
features/project/create.feature
@@ -3,6 +3,7 @@ Feature: Create Project | @@ -3,6 +3,7 @@ Feature: Create Project | ||
3 | A user with ability to create a project | 3 | A user with ability to create a project |
4 | Should be able to create a new one | 4 | Should be able to create a new one |
5 | 5 | ||
6 | + @javascript | ||
6 | Scenario: User create a project | 7 | Scenario: User create a project |
7 | Given I sign in as a user | 8 | Given I sign in as a user |
8 | When I visit new project page | 9 | When I visit new project page |
@@ -19,4 +20,4 @@ Feature: Create Project | @@ -19,4 +20,4 @@ Feature: Create Project | ||
19 | And I click on HTTP | 20 | And I click on HTTP |
20 | Then Remote url should update to http link | 21 | Then Remote url should update to http link |
21 | And If I click on SSH | 22 | And If I click on SSH |
22 | - Then Remote url should update to ssh link | ||
23 | \ No newline at end of file | 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 < Spinach::FeatureSteps | @@ -8,8 +8,8 @@ class CreateProject < Spinach::FeatureSteps | ||
8 | end | 8 | end |
9 | 9 | ||
10 | Then 'I should see project page' do | 10 | Then 'I should see project page' do |
11 | - current_path.should == project_path(Project.last) | ||
12 | page.should have_content "Empty" | 11 | page.should have_content "Empty" |
12 | + current_path.should == project_path(Project.last) | ||
13 | end | 13 | end |
14 | 14 | ||
15 | And 'I should see empty project instuctions' do | 15 | And 'I should see empty project instuctions' do |
lib/tasks/test.rake