it('does not update existing ids', function() { SelectedGroupStore.records = {1: false, 2: true}; SelectedGroupStore.add([3]); expect(SelectedGroupStore.records).to.eql({1: false, 2: true, 3: false}); });
it('defaults value of new ids to \'allSelected()\'', function() { SelectedGroupStore.records = {1: true}; SelectedGroupStore.add([2]); expect(SelectedGroupStore.records).to.eql({1: true, 2: true}); });