var attr = Ember.attr;

module("Ember.Model sideloading");

test("data can be sideloaded without materializing records", function() {
  expect(1);

  var Model = Ember.Model.extend({
    id: attr(),
    name: attr()
  });
  Model.adapter = {
    find: function(record, id) {
      ok(false, "Adapter#find shouldn't be called for records with sideloaded data");
    }
  };

  Model.load([{id: 1, name: "Erik"}]);

  var record = Model.find(1);
  ok(record.get('isLoaded'), "Record should be loaded immediately");
  // ok(record.get('isLoaded'), "Record should be loaded immediately");
});
@@ -205,16 +205,39 @@
 ame:
+ attr(),%0A    camelCase:
  attr()%0A
   %7D)
@@ -232,16 +232,16 @@
  attr()%0A
-
   %7D);%0A  
@@ -423,16 +423,41 @@
 : %22Erik%22
+, camel_case: %22Dromedary%22
 %7D%5D);%0A%0A  
@@ -553,16 +553,265 @@
 tely%22);%0A
+  strictEqual(record.get('id'), 1, %22Record ID retained successfully%22);%0A  strictEqual(record.get('name'), %22Erik%22, %22Record name retained successfully%22);%0A  strictEqual(record.get('camelCase'), %22Dromedary%22, %22camel cased attributes retained correctly%22);%0A
   // ok(
@@ -874,11 +874,12 @@
 tely%22);%0A
-
 %7D);
+%0A

Add breaking test for sideloading data with camel cased attributes