7 describe "#const_missing" do
8 it "should deprecate only the DDL class" do
9 Log.expects(:warn).with("MCollective::RPC::DDL is deprecatd, please use MCollective::DDL instead")
10 MCollective::RPC::DDL.should == MCollective::DDL
12 expect { MCollective::RPC::Foo }.to raise_error(NameError)