Sha256: 9a0daef0d3ecd6782ca76bd77514c673703087dca960fc29077b41d9ffdd3bfa
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
require 'spec_helper' describe Preprocessor::WithIndustryMap do it_behaves_like 'a preprocessor' let(:preprocessor) { Preprocessor::WithIndustryMap.new(industry_map: {1423=>3, 523=>54}) } let(:job) { FactoryGirl.build(:job) } let(:jobs) { [job] } before(:each) do job.stubs(:classification_id) job.stubs(:label) end it "should make use of a industry_map" do preprocessor.expects(:map_industry_id) preprocessor.process(jobs) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
svm_helper-0.1.0 | spec/preprocessors/with_industry_map_spec.rb |