Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
87df47a6d51d
Commit
c2f10400
authored
Aug 27, 2013
by
Dmitriy Zaporozhets
Browse files
Few fixes to spinach tests
parent
fdf8b41f271c
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/views/groups/_projects.html.haml
View file @
87df47a6
...
...
@@ -3,9 +3,9 @@
Projects (
#{
projects
.
count
}
)
-
if
can?
current_user
,
:manage_group
,
@group
%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
New
P
roject
New
p
roject
%ul
.well-list
-
if
projects
.
blank?
%p
.nothing_here_message
This groups has no projects yet
...
...
features/steps/dashboard/dashboard.rb
View file @
87df47a6
...
...
@@ -4,7 +4,7 @@ class Dashboard < Spinach::FeatureSteps
include
SharedProject
Then
'I should see "New Project" link'
do
page
.
should
have_link
"New
P
roject"
page
.
should
have_link
"New
p
roject"
end
Then
'I should see "Shop" project link'
do
...
...
features/steps/group/group.rb
View file @
87df47a6
...
...
@@ -67,7 +67,7 @@ class Groups < Spinach::FeatureSteps
end
When
'I click new group link'
do
click_link
"New
G
roup"
click_link
"New
g
roup"
end
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