firebase/emberfire — pull request #132 by dstaley (2014-10-03 20:06:54+00:00)
Title: Update to Firebase 1.1.0

Tests are all green after updating to Firebase 1.1.0!

```
Running "mocha_phantomjs:phantom" (mocha_phantomjs) task
DEBUG: -------------------------------
DEBUG: Ember : 1.7.0
DEBUG: Ember Data : 1.0.0-beta.8.2a68c63a
DEBUG: EmberFire : 0.0.0
DEBUG: Handlebars : 1.3.0
DEBUG: jQuery : 2.1.1
DEBUG: -------------------------------

FirebaseAdapter
#init()
✓ has a Firebase ref
#_getRef()
✓ returns the correct Firebase ref for a type
✓ returns the correct Firebase ref for a type and id
#_queueScheduleFlush()
✓ schedules a #_queueFlush()
#_enqueue()
✓ pushes a new item into the _queue
✓ schedules a _queueFlush()
✓ flushes the _queue
✓ applys the callback with the correct arguments
#find()
✓ creates a single Firebase reference
✓ creates the correct Firebase reference
✓ returns an object
✓ returns a promise
✓ resolves with the correct payload
✓ throws an error for records that don't exist
#findAll()
✓ creates a single Firebase reference
✓ creates the correct Firebase reference
✓ returns an object
✓ returns a promise
✓ resolves with the correct payload
✓ adds new child values to the store (45ms)
✓ handles empty collections
#updateRecord()
normalized relationship
✓ created the correct Firebase reference
✓ contains a hasMany relationship
✓ removed the hasMany relationship from the final payload
✓ contains a null belongsTo relationship
✓ removed the null belongsTo reference from the final payload
✓ created the correct relationship Firebase reference
✓ saved each related record
multiple normalized relationships
✓ adds a comment without removing old posts (55ms)
denormalized relationship
✓ created the correct Firebase reference
✓ contains a hasMany relationship
✓ removed the hasMany relationship from the final payload
✓ created the correct relationship Firebase reference
✓ saved each related record
✓ saved the related record by serialization

FirebaseSerializer
#normalize()
normalized payload
✓ converts hasMany relationships to arrays
denormalized payload
✓ leaves embedded hasMany relationships as objects
invalid payload
✓ throws an error for hasMany relationships that come down as an array
#extractSingle()
normalized payload
✓ was called for each item in the payload
denormalized payload
✓ was called for each item in the payload
✓ pushed the embedded records into the store
#extractArray()
normalized payload
✓ was called once
✓ returns an array
✓ the returned array contains the correct number of items

✔ 44 tests complete (4.374 seconds)

Done, without errors.
```