Sha256: 2aef87bc9b3af33051c8e5d93e8c8429e6f55f407eed7d3a573b0de233f3648f
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 Bytes
Contents
require 'spec_helper' describe ScbiGo::DescendantsGraph do before(:all) do @go=ScbiGo::GeneOntology.new end it "Should make a graph and dot file" do g=@go.find_go('GO:0001071'); file_name="/tmp/dot_#{Time.now.strftime('%s')}.dot" @graph=ScbiGo::DescendantsGraph.new(g.self_and_descendants,file_name,'grafica',true) expect(File).to exist(file_name) expect(File).to exist(file_name+'.pdf') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scbi_go-0.0.1 | spec/lib/descendants_graph_spec.rb |