Sha256: 4c4baa880d269dc1907c32e68312a0d9f6a93229a8d2cf9b3e9b0431784c69ed
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
require 'spec_helper' describe Wukong::Processor do subject { Wukong::Processor.new } describe "has an interface" do it{ should respond_to(:setup) } it{ should respond_to(:process) } it{ should respond_to(:finalize) } it{ should respond_to(:stop) } end describe "default process method" do it "yields the original input record by default on process" do expect { |b| subject.process(1, &b) }.to yield_with_args(1) end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
ul-wukong-4.1.1 | spec/wukong/processor_spec.rb |
ul-wukong-4.1.0 | spec/wukong/processor_spec.rb |
wukong-4.0.0 | spec/wukong/processor_spec.rb |