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
cca99359
Commit
cca99359
authored
Jan 20, 2013
by
Andrey Kumanyaev
Committed by
Dmitriy Zaporozhets
Jan 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save generated files
parent
9804b7df
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
91 additions
and
1 deletion
+91
-1
app/assets/javascripts/admin/teams/members.js.coffee
app/assets/javascripts/admin/teams/members.js.coffee
+3
-0
app/assets/stylesheets/admin/teams/members.css.scss
app/assets/stylesheets/admin/teams/members.css.scss
+3
-0
app/helpers/admin/teams/members_helper.rb
app/helpers/admin/teams/members_helper.rb
+5
-0
config/routes.rb
config/routes.rb
+0
-1
spec/controllers/admin/teams/members_controller_spec.rb
spec/controllers/admin/teams/members_controller_spec.rb
+40
-0
spec/helpers/admin/teams/members_helper_spec.rb
spec/helpers/admin/teams/members_helper_spec.rb
+15
-0
spec/views/admin/teams/members/create.html.haml_spec.rb
spec/views/admin/teams/members/create.html.haml_spec.rb
+5
-0
spec/views/admin/teams/members/destroy.html.haml_spec.rb
spec/views/admin/teams/members/destroy.html.haml_spec.rb
+5
-0
spec/views/admin/teams/members/edit.html.haml_spec.rb
spec/views/admin/teams/members/edit.html.haml_spec.rb
+5
-0
spec/views/admin/teams/members/new.html.haml_spec.rb
spec/views/admin/teams/members/new.html.haml_spec.rb
+5
-0
spec/views/admin/teams/members/update.html.haml_spec.rb
spec/views/admin/teams/members/update.html.haml_spec.rb
+5
-0
No files found.
app/assets/javascripts/admin/teams/members.js.coffee
0 → 100644
View file @
cca99359
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
app/assets/stylesheets/admin/teams/members.css.scss
0 → 100644
View file @
cca99359
// Place all the styles related to the Admin::Teams::Members controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
app/helpers/admin/teams/members_helper.rb
0 → 100644
View file @
cca99359
module
Admin::Teams::MembersHelper
def
member_since
(
team
,
member
)
team
.
user_team_user_relationships
.
find_by_user_id
(
member
).
created_at
end
end
config/routes.rb
View file @
cca99359
require
'sidekiq/web'
require
'sidekiq/web'
Gitlab
::
Application
.
routes
.
draw
do
Gitlab
::
Application
.
routes
.
draw
do
#
#
# Search
# Search
#
#
...
...
spec/controllers/admin/teams/members_controller_spec.rb
0 → 100644
View file @
cca99359
require
'spec_helper'
describe
Admin
::
Teams
::
MembersController
do
describe
"GET 'new'"
do
it
"returns http success"
do
get
'new'
response
.
should
be_success
end
end
describe
"GET 'create'"
do
it
"returns http success"
do
get
'create'
response
.
should
be_success
end
end
describe
"GET 'edit'"
do
it
"returns http success"
do
get
'edit'
response
.
should
be_success
end
end
describe
"GET 'update'"
do
it
"returns http success"
do
get
'update'
response
.
should
be_success
end
end
describe
"GET 'destroy'"
do
it
"returns http success"
do
get
'destroy'
response
.
should
be_success
end
end
end
spec/helpers/admin/teams/members_helper_spec.rb
0 → 100644
View file @
cca99359
require
'spec_helper'
# Specs in this file have access to a helper object that includes
# the Admin::Teams::MembersHelper. For example:
#
# describe Admin::Teams::MembersHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# end
# end
# end
describe
Admin
::
Teams
::
MembersHelper
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/members/create.html.haml_spec.rb
0 → 100644
View file @
cca99359
require
'spec_helper'
describe
"members/create.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/members/destroy.html.haml_spec.rb
0 → 100644
View file @
cca99359
require
'spec_helper'
describe
"members/destroy.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/members/edit.html.haml_spec.rb
0 → 100644
View file @
cca99359
require
'spec_helper'
describe
"members/edit.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/members/new.html.haml_spec.rb
0 → 100644
View file @
cca99359
require
'spec_helper'
describe
"members/new.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/members/update.html.haml_spec.rb
0 → 100644
View file @
cca99359
require
'spec_helper'
describe
"members/update.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
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