[BioRuby-cvs] bioruby/test/unit/bio/io test_ensembl.rb,1.3,1.4
Mitsuteru C. Nakao
nakao at dev.open-bio.org
Wed Mar 28 12:24:32 UTC 2007
Update of /home/repository/bioruby/bioruby/test/unit/bio/io
In directory dev.open-bio.org:/tmp/cvs-serv6890/test/unit/bio/io
Modified Files:
test_ensembl.rb
Log Message:
Index: test_ensembl.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/io/test_ensembl.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test_ensembl.rb 28 Mar 2007 12:01:00 -0000 1.3
--- test_ensembl.rb 28 Mar 2007 12:24:30 -0000 1.4
***************
*** 44,47 ****
--- 44,55 ----
assert_equal(organism, obj.organism)
end
+
+ def test_new_with_2_args
+ organism = 'Oryza_sativa'
+ server_url = 'http://www.gramene.org'
+ obj = Bio::Ensembl.new(organism, server_url)
+ assert_equal(organism, obj.organism)
+ assert_equal(server_url, obj.server)
+ end
end
More information about the bioruby-cvs
mailing list