Sha256: c3f9b2be938daf56987a70a07b9c474f3c89eb7018f8519f13b6fa349830bbd2
Contents?: true
Size: 665 Bytes
Versions: 1
Compression:
Stored size: 665 Bytes
Contents
require 'scaffolder/test/helpers' require 'cucumber' World(Scaffolder::Test::Helpers) Given /^the scaffold is composed of the sequences:$/ do |sequences| @entries = sequences.hashes.map do |seq| {'sequence' => {'source' => seq['name']}} end @sequences = sequences.hashes.map do |seq| {:name => seq['name'], :sequence => seq['nucleotides']} end @sequence_file = write_sequence_file(@sequences) @scaffold_file = write_scaffold_file(@entries) end Given /^the scaffold file is called "([^"]*)"$/ do |file| FileUtils.mv(@scaffold_file,file) end Given /^the sequence file is called "([^"]*)"$/ do |file| FileUtils.mv(@sequence_file,file) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scaffolder-test-helpers-0.1.0 | lib/scaffolder/test/cucumber_steps.rb |