>> + describe "when setting debugging mode" do >> + it "should have debugging enabled using 1" do >> + Facter.debugging(1) >> + Facter.debugging?.should == true >> + end > > This can be more elegantly done as: > > Facter.should be_debugging
ok I'll change that. Is it ok, that I'll change that and put a branch online. cheers pete --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
