 
         it("compares a collection of view models that are not equal") {
           let left = [
-            item(title: "foo", size: CGSize(width: 40, height: 40)),
-            item(title: "foo", size: CGSize(width: 60, height: 40))
+            Item(title: "foo", size: CGSize(width: 40, height: 40)),
+            Item(title: "foo", size: CGSize(width: 60, height: 40))
           ]
           let right = [
-            item(title: "foo", size: CGSize(width: 40, height: 40)),
-            item(title: "foo", size: CGSize(width: 40, height: 40))
+            Item(title: "foo", size: CGSize(width: 40, height: 40)),
+            Item(title: "foo", size: CGSize(width: 40, height: 40))
           ]
 
           expect(left === right).to(beFalse())

      describe("#dictionary") {
        beforeEach {
          data["relations"] = ["Items" : [data, data]]
          item = item(data)
        }

        it("returns a dictionary representation of the view model") {
          let newItem = item(item.dictionary)

          expect(newItem == item).to(beTrue())
          expect(newItem.relations["Items"]!.count).to(equal(item.relations["Items"]!.count))

      describe("#compareRelations") {
        beforeEach {
          data["relations"] = ["Items" : [data, data, data]]
          item = Item(data)
        }

        it("compare relations properly") {
          var Item2 = Item(data)
          expect(compareRelations(item, Item2)).to(beTrue())

          Item2.relations["Items"]![2].title = "new"
          expect(compareRelations(item, Item2)).to(beFalse())

          data["relations"] = ["Items" : [data, data]]
          Item2 = Item(data)
          expect(compareRelations(item, Item2)).to(beFalse())
        }
      }
