mrdavidlaing/javascript-koans — Issue #11: aboutObjects line 68 has a missing property
Author: DarkLord7854
Created: 2011-10-17 20:36:17+00:00
State: open

it("should not have the detonator however", function () {
hasDetonator = "theDetonator" in meglomaniac;
expect(hasDetonator).toBe(FILL_ME_IN);
});

"theDetonator" property is missing in the object:

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