ontologies_controller_test.rb revision f1304db188bff0f7c40172819863ffe54401b400
require 'test_helper'
context 'Ontology Instance' do
setup do
2.times { FactoryGirl.create :entity, :ontology => @ontology }
end
setup do
end
should render_template 'ontologies/_ontology'
end
setup do
@search = @ontology.name
end
should render_template 'ontologies/_ontology'
end
end
setup do
end
setup do
end
end
setup do
end
should respond_with :redirect
end
setup do
end
should respond_with :redirect
end
end
setup do
end
setup do
end
end
setup do
end
end
setup do
ontology: {
source_url: ''
}],
}
end
end
setup do
ontology: {
source_url: ''
}],
}
end
end
end
setup do
post :create, repository_id: @repository.id, :ontology => {
}],
}
end
should respond_with :redirect
end
setup do
ontology: {
}],
}
end
end
end
end
end
setup do
end
setup do
end
end
setup do
name: 'foo bar'
end
end
end
end
end