permission_test.rb revision 8c1be7aa00ddeb367fac5d3e8574429a301dbeb7
require 'test_helper'
context 'Ontology' 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 ontology having permissions' do
end
end
end
end