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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
c2f10400
Commit
c2f10400
authored
Aug 27, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Few fixes to spinach tests
parent
8457415e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/groups/_projects.html.haml
app/views/groups/_projects.html.haml
+2
-2
features/steps/dashboard/dashboard.rb
features/steps/dashboard/dashboard.rb
+1
-1
features/steps/group/group.rb
features/steps/group/group.rb
+1
-1
No files found.
app/views/groups/_projects.html.haml
View file @
c2f10400
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
Projects (
#{
projects
.
count
}
)
Projects (
#{
projects
.
count
}
)
-
if
can?
current_user
,
:manage_group
,
@group
-
if
can?
current_user
,
:manage_group
,
@group
%span
.pull-right
%span
.pull-right
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
"btn"
do
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
"btn
btn-new
"
do
%i
.icon-plus
%i
.icon-plus
New
P
roject
New
p
roject
%ul
.well-list
%ul
.well-list
-
if
projects
.
blank?
-
if
projects
.
blank?
%p
.nothing_here_message
This groups has no projects yet
%p
.nothing_here_message
This groups has no projects yet
...
...
features/steps/dashboard/dashboard.rb
View file @
c2f10400
...
@@ -4,7 +4,7 @@ class Dashboard < Spinach::FeatureSteps
...
@@ -4,7 +4,7 @@ class Dashboard < Spinach::FeatureSteps
include
SharedProject
include
SharedProject
Then
'I should see "New Project" link'
do
Then
'I should see "New Project" link'
do
page
.
should
have_link
"New
P
roject"
page
.
should
have_link
"New
p
roject"
end
end
Then
'I should see "Shop" project link'
do
Then
'I should see "Shop" project link'
do
...
...
features/steps/group/group.rb
View file @
c2f10400
...
@@ -67,7 +67,7 @@ class Groups < Spinach::FeatureSteps
...
@@ -67,7 +67,7 @@ class Groups < Spinach::FeatureSteps
end
end
When
'I click new group link'
do
When
'I click new group link'
do
click_link
"New
G
roup"
click_link
"New
g
roup"
end
end
And
'submit form with new group info'
do
And
'submit form with new group info'
do
...
...
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