Add delete to datastore spec
parent
0ad3473ebb
commit
2a66a6ae88
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue