Commit cca993597013e1359d84230b0f69a2e02edb8e97

Authored by Andrey Kumanyaev
Committed by Dmitriy Zaporozhets
1 parent 9804b7df

save generated files

app/assets/javascripts/admin/teams/members.js.coffee 0 → 100644
... ... @@ -0,0 +1,3 @@
  1 +# Place all the behaviors and hooks related to the matching controller here.
  2 +# All this logic will automatically be available in application.js.
  3 +# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
... ...
app/assets/stylesheets/admin/teams/members.css.scss 0 → 100644
... ... @@ -0,0 +1,3 @@
  1 +// Place all the styles related to the Admin::Teams::Members controller here.
  2 +// They will automatically be included in application.css.
  3 +// You can use Sass (SCSS) here: http://sass-lang.com/
... ...
app/helpers/admin/teams/members_helper.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +module Admin::Teams::MembersHelper
  2 + def member_since(team, member)
  3 + team.user_team_user_relationships.find_by_user_id(member).created_at
  4 + end
  5 +end
... ...
config/routes.rb
1 1 require 'sidekiq/web'
2 2  
3 3 Gitlab::Application.routes.draw do
4   -
5 4 #
6 5 # Search
7 6 #
... ...
spec/controllers/admin/teams/members_controller_spec.rb 0 → 100644
... ... @@ -0,0 +1,40 @@
  1 +require 'spec_helper'
  2 +
  3 +describe Admin::Teams::MembersController do
  4 +
  5 + describe "GET 'new'" do
  6 + it "returns http success" do
  7 + get 'new'
  8 + response.should be_success
  9 + end
  10 + end
  11 +
  12 + describe "GET 'create'" do
  13 + it "returns http success" do
  14 + get 'create'
  15 + response.should be_success
  16 + end
  17 + end
  18 +
  19 + describe "GET 'edit'" do
  20 + it "returns http success" do
  21 + get 'edit'
  22 + response.should be_success
  23 + end
  24 + end
  25 +
  26 + describe "GET 'update'" do
  27 + it "returns http success" do
  28 + get 'update'
  29 + response.should be_success
  30 + end
  31 + end
  32 +
  33 + describe "GET 'destroy'" do
  34 + it "returns http success" do
  35 + get 'destroy'
  36 + response.should be_success
  37 + end
  38 + end
  39 +
  40 +end
... ...
spec/helpers/admin/teams/members_helper_spec.rb 0 → 100644
... ... @@ -0,0 +1,15 @@
  1 +require 'spec_helper'
  2 +
  3 +# Specs in this file have access to a helper object that includes
  4 +# the Admin::Teams::MembersHelper. For example:
  5 +#
  6 +# describe Admin::Teams::MembersHelper do
  7 +# describe "string concat" do
  8 +# it "concats two strings with spaces" do
  9 +# helper.concat_strings("this","that").should == "this that"
  10 +# end
  11 +# end
  12 +# end
  13 +describe Admin::Teams::MembersHelper do
  14 + pending "add some examples to (or delete) #{__FILE__}"
  15 +end
... ...
spec/views/admin/teams/members/create.html.haml_spec.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +require 'spec_helper'
  2 +
  3 +describe "members/create.html.haml" do
  4 + pending "add some examples to (or delete) #{__FILE__}"
  5 +end
... ...
spec/views/admin/teams/members/destroy.html.haml_spec.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +require 'spec_helper'
  2 +
  3 +describe "members/destroy.html.haml" do
  4 + pending "add some examples to (or delete) #{__FILE__}"
  5 +end
... ...
spec/views/admin/teams/members/edit.html.haml_spec.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +require 'spec_helper'
  2 +
  3 +describe "members/edit.html.haml" do
  4 + pending "add some examples to (or delete) #{__FILE__}"
  5 +end
... ...
spec/views/admin/teams/members/new.html.haml_spec.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +require 'spec_helper'
  2 +
  3 +describe "members/new.html.haml" do
  4 + pending "add some examples to (or delete) #{__FILE__}"
  5 +end
... ...
spec/views/admin/teams/members/update.html.haml_spec.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +require 'spec_helper'
  2 +
  3 +describe "members/update.html.haml" do
  4 + pending "add some examples to (or delete) #{__FILE__}"
  5 +end
... ...