BigW Consortium Gitlab

Commit cca99359 by Andrey Kumanyaev Committed by Dmitriy Zaporozhets

save generated files

parent 9804b7df
# 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/
// 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/
module Admin::Teams::MembersHelper
def member_since(team, member)
team.user_team_user_relationships.find_by_user_id(member).created_at
end
end
require 'sidekiq/web'
Gitlab::Application.routes.draw do
#
# Search
#
......
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
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
require 'spec_helper'
describe "members/create.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end
require 'spec_helper'
describe "members/destroy.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end
require 'spec_helper'
describe "members/edit.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end
require 'spec_helper'
describe "members/new.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end
require 'spec_helper'
describe "members/update.html.haml" do
pending "add some examples to (or delete) #{__FILE__}"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment