ontologies_controller_test.rb revision 9c9b4f0d0199c3b1dbff564b87435b6693b7e692
require 'test_helper'
context 'Ontology Instance' do
setup do
end
context 'on GET to index' do
setup do
end
end
context 'on GET to show' do
setup do
end
end
context 'signed in' do
setup do
end
context 'on GET to new' do
setup do
end
end
context 'on POST to create' do
context 'with invalid input' do
setup do
source_uri: 'fooo'
}],
}
end
end
context 'with valid input' do
setup do
}],
}
end
should respond_with :redirect
end
end
end
context 'owned by signed in user' do
setup do
:role => 'owner',
end
context 'on GET to edit' do
setup do
end
end
context 'on PUT to update' do
setup do
:name => 'foo bar'
end
end
end
end
end