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
Léo-Paul Géneau
gitlab-ce
Commits
a0640600
Commit
a0640600
authored
Jun 26, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test admin:group#index
parent
112e9198
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
features/admin/groups.feature
features/admin/groups.feature
+3
-0
features/steps/admin/admin_groups.rb
features/steps/admin/admin_groups.rb
+6
-0
No files found.
features/admin/groups.feature
View file @
a0640600
...
@@ -5,6 +5,9 @@ Feature: Admin Groups
...
@@ -5,6 +5,9 @@ Feature: Admin Groups
And
Create gitlab user
"John"
And
Create gitlab user
"John"
And
I visit admin groups page
And
I visit admin groups page
Scenario
:
See group list
Then
I should be all groups
Scenario
:
Create a group
Scenario
:
Create a group
When
I click new group link
When
I click new group link
And
submit form with new group info
And
submit form with new group info
...
...
features/steps/admin/admin_groups.rb
View file @
a0640600
...
@@ -55,6 +55,12 @@ class AdminGroups < Spinach::FeatureSteps
...
@@ -55,6 +55,12 @@ class AdminGroups < Spinach::FeatureSteps
end
end
end
end
step
'I should be all groups'
do
Group
.
all
.
each
do
|
group
|
page
.
should
have_content
group
.
name
end
end
protected
protected
def
current_group
def
current_group
...
...
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