stevenklar/php-koans — Issue #2: aboutObjects line 68 has a missing property
Author: DarkLord7854
Created: 2011-10-17 20:25:40+00:00
State: open

it("should not have the detonator however", function () {

hasDetonator = "theDetonator" in meglomaniac;

expect(hasDetonator).toBe(false);
});

"theDetonator" property is missing in the object:

var meglomaniac;
beforeEach(function () {
meglomaniac = {
mastermind: "The Monarch",
henchwoman: "Dr Girlfriend",
theBomb: true
};
});