     {id: 2, code: "FORD",  name: "Ford Motor Co."}
     {id: 3, code: "DODGE", name: "Chrysler/Dodge"}
 ]}
+
+VALUE_CLASS = '.form-control-static'
 
 Car = Lanes.Test.defineModel(
     props: {id: 'integer', code: 'string', brand_id: 'integer'}

    it "renders read only", (done) ->
        sf = LT.renderComponent(LC.SelectField,
             props:{model: @car, name: 'brand', labelField: 'name'})
        expect(_.dom(sf).qs('.value').text).toBe('')
        @car.set(brand: @brands.at(0))
        _.defer ->
            expect(_.dom(sf).qs('.value').text).toBe('General Motors')
            done()

    it "renders as edit", ->

            queryModel: Car, multiSelect: true, model: @car, name: 'carTypes'
            labelField: 'name', choices: @brands.models
        })
        expect(_.dom(sf).qs(VALUE_CLASS).text).toEqual('General Motors and Chrysler/Dodge')


    it "renders all choices", ->
