       expect( $(".city").length ).toBeGreaterThan 1
       expect( $(".country").length ).toBeGreaterThan 1
       
+  #
   describe "flexirails-column", ->
     beforeEach ->
       initFlexirails data, view

  initFlexirails = (data = [], view = {}) ->
    $(document.body).append $("<div id='flexirails'></div>")
    
    $("#flexirails").empty()
    elem = $("#flexirails").flexirails { 'datasource':data, 'view': view }
    instance = $(elem).getFlexirails()
  
  destroyFlexirails = ->
    instance.destroy()
  
  it "should export $.flexirails", ->
    expect(typeof $.flexirails).toEqual "function"
    
  describe "flexirails-instanciation", ->
    beforeEach ->
      initFlexirails()

      { title: 'Country', attribute: 'country' }
    ]
  
  #
  describe "flexirails-header", ->
    beforeEach ->
      initFlexirails data, view
