Sha256: 857806f87cff9c576e35fabc87350b4c325befdd08784661baf4656c8c1827af
Contents?: true
Size: 512 Bytes
Versions: 4
Compression:
Stored size: 512 Bytes
Contents
# spec for cookery require "spec_helper" describe "cooking up a recipe" do it "should handle multiple steps" do input = File.dirname(__FILE__) + "/../data/quoted_csv_data.txt" recipe = File.dirname(__FILE__) + "/../data/recipe.txt" tmp = Tempfile.new('cooked') results = Masticate.cook(input, :output => tmp, :recipe => recipe) output = File.read(tmp) correct_output = File.read(File.dirname(__FILE__) + "/../data/cooking_result.csv") output.should == correct_output end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
masticate-0.2.3 | spec/lib/cook_spec.rb |
masticate-0.2.2 | spec/lib/cook_spec.rb |
masticate-0.2.1 | spec/lib/cook_spec.rb |
masticate-0.2 | spec/lib/cook_spec.rb |