team_users_controller_test.rb revision 7e3ffdd270e31d82db163acaf6d0849cb7dda0e8
require 'test_helper'
:as => 'users',
context 'teams' do
setup do
:admin_user => @admin
end
context 'adding a user' do
context 'by admin' do
setup do
end
end
end
context 'with one user' do
context 'removing the last user' do
setup do
end
should 'return a helpful error message' do
end
end
end
context 'with two users' do
setup do
end
context 'team admin deleting other user' do
setup do
:id => @team_user.id
end
end
context 'other user deleting team admin' do
setup do
end
should 'throw not found exception' do
end
end
end
end
end
end