Add delete to datastore spec

bug/bundler_fix
William Vu 2015-02-24 20:57:38 -06:00
parent 0ad3473ebb
commit 2a66a6ae88
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ shared_examples "datastore" do
subject.to_h.should == { "foo" => "bar", "fizz" => "buzz" }
end
end
context "#delete" do
it "should delete the specified key" do
subject.delete("foo") == { "fizz" => "buzz" }
end
end
end
describe Msf::DataStore do