Sha256: da1f915d66fc812a4eb6bb410de7220aa1014ee992c6bf6f9958cf1a2ab317c3
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 Bytes
Contents
shared_examples_for 'a processor' do |options = {}| let(:processor_name){ options[:named] || self.class.top_level_description } subject { create_processor(processor_name, on_error: :skip) } it 'is registered' do Wukong.registry.retrieve(processor_name.to_sym).should_not be_nil end it{ should respond_to(:setup) } it{ should respond_to(:process) } it{ should respond_to(:finalize) } it{ should respond_to(:stop) } it{ should respond_to(:notify) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wukong-3.0.0.pre3 | lib/wukong/spec_helpers/shared_examples.rb |