spec/sequence_spec.rb in sequenceserver-1.1.0.beta12 vs spec/sequence_spec.rb in sequenceserver-2.0.0.beta1
- old
+ new
@@ -39,11 +39,10 @@
'A' => 1 }
end
end
describe 'Sequence retrieval' do
- root = SequenceServer.root
- database_dir = File.join(root, 'spec', 'database')
+ database_dir = File.join(__dir__, 'database')
let 'a_normal_database_id' do
Digest::MD5.hexdigest File.join(database_dir, 'sample', 'proteins',
'Solenopsis_invicta',
'Sinvicta2-2-3.prot.subset.fasta')