spec/library/01_basic_spec.rb in ruote-library-1.0.0 vs spec/library/01_basic_spec.rb in ruote-library-1.1.0

- old
+ new

@@ -101,6 +101,21 @@ res.should trace( %w[recruit_troops train_troops build_phalanx_formation send_formation] ) end end + + describe :inclusion do + it "includes other processes" do + pdef = @library.fetch("inclusive/test") + pdef.should == "define inclusive/test + foo + bar + cursor + recruit_troops + train_troops + rewind unless: \"${f:enough_troops}\" + build_phalanx_formation + send_formation direction: forward\n" + end + end end