Created
January 30, 2014 17:41
-
-
Save lgrains/8714243 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper.rb' | |
require 'lib/sf_to_coll/convert.rb' | |
require 'rake' | |
describe SfToColl::Convert do | |
context "main file for single record should be 2186 chars long" do | |
Rake::Task["import_field_data"].invoke | |
let(:converter){ SfToColl::Convert.new("tmp/ctbrown.csv").process } | |
let(:out_file_name){ converter.out_file_name } | |
subject { File.stat("#{out_file_name}_main").size } | |
it {should == 2186} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment