Sha256: 01ec982998cffa3ee0829d5996c8190d47403fc207e5428550737e07e9951cbf

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

describe Preprocessor::IDMapping do
  it_behaves_like 'a preprocessor'
  let(:preprocessor) { Preprocessor::IDMapping.new(1423=>3, 523=>54) }
  let(:job) { FactoryGirl.build(:job) }
  let(:jobs) { [job] }
  it "should make use of a industry_map" do
    preprocessor.expects(:map_id)
    preprocessor.process(jobs)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
svm_helper-0.2.1 spec/svm_helper/preprocessors/id_mapping_spec.rb
svm_helper-0.1.1 spec/preprocessors/id_mapping_spec.rb