Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b007cadf
Commit
b007cadf
authored
Mar 14, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project creation test
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
0d7986a8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
features/project/create.feature
features/project/create.feature
+2
-1
features/steps/project/create.rb
features/steps/project/create.rb
+1
-1
lib/tasks/test.rake
lib/tasks/test.rake
+0
-1
No files found.
features/project/create.feature
View file @
b007cadf
...
@@ -3,6 +3,7 @@ Feature: Create Project
...
@@ -3,6 +3,7 @@ Feature: Create Project
A user with ability to create a project
A user with ability to create a project
Should be able to create a new one
Should be able to create a new one
@javascript
Scenario
:
User create a project
Scenario
:
User create a project
Given
I sign in as a user
Given
I sign in as a user
When
I visit new project page
When
I visit new project page
...
...
features/steps/project/create.rb
View file @
b007cadf
...
@@ -8,8 +8,8 @@ class CreateProject < Spinach::FeatureSteps
...
@@ -8,8 +8,8 @@ class CreateProject < Spinach::FeatureSteps
end
end
Then
'I should see project page'
do
Then
'I should see project page'
do
current_path
.
should
==
project_path
(
Project
.
last
)
page
.
should
have_content
"Empty"
page
.
should
have_content
"Empty"
current_path
.
should
==
project_path
(
Project
.
last
)
end
end
And
'I should see empty project instuctions'
do
And
'I should see empty project instuctions'
do
...
...
lib/tasks/test.rake
View file @
b007cadf
...
@@ -4,4 +4,3 @@ desc "GITLAB | Run all tests"
...
@@ -4,4 +4,3 @@ desc "GITLAB | Run all tests"
task
:test
do
task
:test
do
Rake
::
Task
[
"gitlab:test"
].
invoke
Rake
::
Task
[
"gitlab:test"
].
invoke
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment