ontology_search_controller_spec.rb revision c3960e37f5f7b3881e4ac90cc1aa61c97222d2c5
require 'spec_helper'
describe 'GET search with no ontology restriction' do
it 'responds with all ontologies' do
end
end
# searches for an ontology
# created for an identified class of purposes (id = 1)
end
end
# searches for an ontology
# in a logic whose name includes "cas",
# with a symbol whose name inlcudes "cas",
# or whose name includes "cas"
end
end
# searches for an ontology
# with a query containing the above two ontology restrictions
get :search, { keywords: ['{"item":"4","type":"Task","role":null}','{"item":"cas","type":"Mixed","role":null}'] }
end
end
# search for an ontology
# with a query containing a malformed ontology restriction
end
end
end
end
end