spec/unit/processor/one_shot_spec.rb in bulldog-0.0.1 vs spec/unit/processor/one_shot_spec.rb in bulldog-0.0.2

- old
+ new

@@ -65,6 +65,16 @@ end end it_should_behave_like "any one shot processor" end + + describe "A standalone processor" do + it "should not affect the other processes' styles" do + style = Style.new(:style) + styles = StyleSet[style] + processor = Processor::OneShot.new(mock, styles, mock) + processor.process{} + styles.should have(1).style + end + end end