ontologies_controller_test.rb revision 46dd7ca898be6d5dbdfda64fd90ce01e253c0878
require 'test_helper'
context 'Ontology Instance' do
setup do
2.times { FactoryGirl.create :entity, :ontology => @ontology }
end
setup do
end
end
setup do
@search = @ontology.name
end
end
end
setup do
end
setup do
end
end
end
setup do
end
should respond_with :redirect
should redirect_to("entities"){ repository_ontology_entities_path(@repository, @ontology, :kind => 'Symbol') }
end
setup do
end
should respond_with :redirect
should redirect_to("entities"){ repository_ontology_entities_path(@repository, @ontology, :kind => 'Class' ) }
end
end
setup do
end
setup do
end
end
setup do
name: 'foo bar'
end
end
end
end
end