spec/sequence_spec.rb in sequenceserver-2.0.0.rc6 vs spec/sequence_spec.rb in sequenceserver-2.0.0.rc7
- old
+ new
@@ -48,16 +48,15 @@
'Solenopsis_invicta',
'Sinvicta2-2-3.prot.subset.fasta')
end
let 'funky_ids_database_id' do
- Digest::MD5.hexdigest File.join(database_dir, 'funky_ids',
+ Digest::MD5.hexdigest File.join(database_dir, 'funky_ids', 'v5',
'funky_ids.fa')
end
before :all do
- SequenceServer.config[:database_dir] = database_dir
- Database.scan_databases_dir
+ SequenceServer.init(database_dir: database_dir)
end
it 'should be able to retrieve sequences from database' do
sequences = Sequence::Retriever.new('SI2.2.0_06267',
a_normal_database_id).sequences