spec/spec_helper.rb in scaffolder-annotation-locator-0.0.1 vs spec/spec_helper.rb in scaffolder-annotation-locator-0.1.0

- old
+ new

@@ -20,11 +20,11 @@ gff.records = annotations.map do |a| Bio::GFF::GFF3::Record.new(a[:seqname], a[:source], 'CDS', a[:start], a[:end], nil, a[:strand], a[:phase]) end - tmp = Tempfile.new("gff").path - File.open(tmp,'w'){ |out| out.print(gff) } + tmp = Tempfile.new("gff") + File.open(tmp.path,'w'){ |out| out.print(gff) } tmp end end