team_users_controller_test.rb revision 38dab3b63e2730b443590a53de93e085659efe25
require 'test_helper'
:as => 'users',
context 'teams' do
setup do
:admin_user => @admin
end
context 'on GET to index' do
context 'as admin' do
setup do
end
end
context 'as user' do
setup do
end
end
end
setup do
end
should render_template 'team_users/_team_user'
end
end
setup do
end
end
end
end
setup do
@team_user = @team.team_users.create! :user => @user
end
setup do
:id => @team_user.id,
end
should render_template 'team_users/_team_user'
end
setup do
:id => @team_user.id
end
end
end
end
end