Sha256: d118f400d738ac3442dff89374666e8a7d45076570f2011657f8667d01970cf3
Contents?: true
Size: 492 Bytes
Versions: 8
Compression:
Stored size: 492 Bytes
Contents
require File.expand_path( File.dirname(__FILE__) + '/spec_helper' ) require 'gi' describe GI, "given a 'GI' number" do before(:all) do @gi_num = 836805 end it 'can query NCBI for annotation (fails nicely w/o connection)' do annot = GI.gi2annot([@gi_num]) if annot annot.first.should == 'proteosome component PRE4 [Saccharomyces cerevisiae]' else puts "- retrieval of gi failed gracefully w/o internet connection" end end end
Version data entries
8 entries across 8 versions & 1 rubygems