spec/unit/processor/one_shot_spec.rb in bulldog-0.0.8 vs spec/unit/processor/one_shot_spec.rb in bulldog-0.0.9
- old
+ new
@@ -70,11 +70,11 @@
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{}
+ processor = Processor::OneShot.new(mock, mock)
+ processor.process(styles){}
styles.should have(1).style
end
end
end