permission_test.rb revision 38dab3b63e2730b443590a53de93e085659efe25
require 'test_helper'
end
end
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