fox for java components support

This commit is contained in:
Colin Surprenant 2011-11-16 13:51:04 -05:00
parent f24f06fdbf
commit 73b6273e24
1 changed files with 2 additions and 2 deletions

View File

@ -259,8 +259,8 @@ describe RedStorm::SimpleTopology do
bolt_definition1.should_receive(:define_grouping).with("storm_bolt1")
bolt_definition2.should_receive(:define_grouping).with("storm_bolt2")
bolt_definition1.should_receive(:clazz).and_return(BoltClass1)
bolt_definition2.should_receive(:clazz).and_return(BoltClass2)
bolt_definition1.should_receive(:clazz).twice.and_return(BoltClass1)
bolt_definition2.should_receive(:clazz).twice.and_return(BoltClass2)
bolt_definition1.should_receive(:parallelism).and_return(2)
bolt_definition2.should_receive(:parallelism).and_return(3)
bolt_definition1.should_receive(:id).any_number_of_times.and_return("id1")