 
   test("addForm on added inner formset works", ->
     fixture = @fixtureDivWithNestedFormsets
-    formset = fixture.children('div')
-      .djangoFormset()
+    formset = fixture.children('div').djangoFormset()
     nestedFormset = null
 
     $(formset).on('formAdded', (event, form) ->


  test("throws on missing TOTAL_FORMS", ->
    throws((->
      @fixtureNoTotalForms.children('li')
        .djangoFormset()),
      /Management form field 'TOTAL_FORMS' not found for prefix no-total-forms/,
      "throws Error")
    return


  test("deletes initially existing form", ->
    fixture = @fixtureDivWithFormOneInitial
    formset = fixture.children('div').djangoFormset()

    formset.deleteForm(0)

