ontology_versions_steps.rb revision 6cf7dfa3f4a9dd506fc39a1aed4dc0c29ea814d2
792e63782d113aa39e658471cf466863e97b852bTim Reddehase @distributed_ontology = FactoryGirl.create :distributed_ontology, :with_versioned_children
792e63782d113aa39e658471cf466863e97b852bTim ReddehaseWhen(/^i visit the versions tab of a child ontology$/) do
792e63782d113aa39e658471cf466863e97b852bTim Reddehase @ontology = @distributed_ontology.children.first
792e63782d113aa39e658471cf466863e97b852bTim Reddehase visit repository_ontology_ontology_versions_path(@ontology.repository, @ontology)
792e63782d113aa39e658471cf466863e97b852bTim ReddehaseThen(/^i should see the corresponding versions$/) do
6cf7dfa3f4a9dd506fc39a1aed4dc0c29ea814d2Eugen Kuksa selector = %(.evaluation-state[data-id="#{id}"][data-klass="OntologyVersion"])