Lines Matching refs:ontology
1 When(/^I visit the file browser of the ontology's repository$/i) do
2 visit repository_tree_path(@ontology.repository)
5 Then(/^I should see the ontology's file$/i) do
9 has_link?(@ontology.path, polymorphic_path(@ontology))).
13 Then(/^I should see the ontlogy next to the ontology's file$/i) do
14 ontology_cell_selector = 'table.file-table td.ontology ul.ontology-list'
17 has_link?(@ontology.name, polymorphic_path(@ontology))).
21 Then(/^I should see no other ontologies next to the ontology's file$/i) do
22 ontology_cell_selector = 'table.file-table td.ontology ul.ontology-list'
24 to have_selector('li', count: 1 + @ontology.children.count)
27 Then(/^I should see the ontlogy and its children next to the ontology's file$/i) do
28 ontology_cell_selector = 'table.file-table td.ontology ul.ontology-list'
31 has_link?(@ontology.name, polymorphic_path(@ontology))).
33 @ontology.children.each do |child|