repository_edit_file_steps.rb revision 22f8827cd8892a298f9764ce862db6867307828d
fast_parse: false},
{without_protection: true})
end
steps %Q{
}
end
@deleted_child.present = false
@ontology.children.each do |child|
end
end
@deleted_child.present =true
@ontology.children.each do |child|
end
end
# The request object does not contain a requested mime type, so we need to
# stub this.
and_return(true)
end
# The file defines the DistributedOntolgy and its children.
number = 1 + @ontology.children.count
expect(page.find('#ontology-list-headline').text).to match(/\s+#{number}\s+/)
end