Skip to content

Instantly share code, notes, and snippets.

@ynniv
Created January 24, 2010 05:57
Show Gist options
  • Save ynniv/285038 to your computer and use it in GitHub Desktop.
Save ynniv/285038 to your computer and use it in GitHub Desktop.
module("SC.ObjectController - single_enumerable_case - OBSERVABLE OBJECT", {
setup: function() {
src = SC.Object.create({ foo: "foo1", bar: "bar1" });
content = SC.Set.create(); // use generic enumerable
controller = SC.ObjectController.create({
content: content,
allowsMultipleContent: NO
});
content.add(src);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment