team_user_test.rb revision 38dab3b63e2730b443590a53de93e085659efe25
require 'test_helper'
context 'Associations' do
end
context 'team with admin and user' do
setup do
@team = @admin_user.team
@team.users << @team_user
end
should 'have 2 members' do
end
should 'have a admin' do
end
should 'have a non-admin' do
end
should 'remove non-admin' do
end
should 'not destroy the last admin' do
end
end
should 'not remove the last admin flag' do
end
end
end
end