permission_test.rb revision f1304db188bff0f7c40172819863ffe54401b400
require 'test_helper'
end
end
context 'repository' do
setup do
end
context 'admin user' do
setup do
end
should 'have owner and editor permissions' do
end
end
context 'owner user' do
setup do
end
should 'have owner and editor permissions' do
end
end
context 'editor user' do
setup do
end
should 'have editor permission' do
end
end
context 'team user' do
setup do
end
should 'have owner and editor permissions' do
end
end
context 'bernd' do
should 'not have any permissions' do
end
end
context 'editor' do
setup do
end
should 'not have owner permission' do
end
end
context 'user on other team' do
setup do
end
should 'not have owner and editor permissions' do
end
end
context 'some user' do
setup do
end
should 'not have permissions without repository having permissions' do
end
end
end
end