save generated files

This commit is contained in:
Andrey Kumanyaev 2013-01-20 15:25:45 +04:00 committed by Dmitriy Zaporozhets
parent 9804b7df68
commit cca9935970
11 changed files with 91 additions and 1 deletions

View file

@ -0,0 +1,3 @@
# 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/

View file

@ -0,0 +1,3 @@
// 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/

View file

@ -0,0 +1,5 @@
module Admin::Teams::MembersHelper
def member_since(team, member)
team.user_team_user_relationships.find_by_user_id(member).created_at
end
end

View file

@ -1,7 +1,6 @@
require 'sidekiq/web' require 'sidekiq/web'
Gitlab::Application.routes.draw do Gitlab::Application.routes.draw do
# #
# Search # Search
# #

View file

@ -0,0 +1,40 @@
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

View file

@ -0,0 +1,15 @@
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

View file

@ -0,0 +1,5 @@
require 'spec_helper'
describe "members/create.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end

View file

@ -0,0 +1,5 @@
require 'spec_helper'
describe "members/destroy.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end

View file

@ -0,0 +1,5 @@
require 'spec_helper'
describe "members/edit.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end

View file

@ -0,0 +1,5 @@
require 'spec_helper'
describe "members/new.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end

View file

@ -0,0 +1,5 @@
require 'spec_helper'
describe "members/update.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end