diff --git a/src/test/groovy/au/org/ala/ecodata/forms/EditModelWidgetRenderSpec.groovy b/src/test/groovy/au/org/ala/ecodata/forms/EditModelWidgetRenderSpec.groovy index ea72fc93..aa59ebe6 100644 --- a/src/test/groovy/au/org/ala/ecodata/forms/EditModelWidgetRenderSpec.groovy +++ b/src/test/groovy/au/org/ala/ecodata/forms/EditModelWidgetRenderSpec.groovy @@ -115,8 +115,8 @@ class EditModelWidgetRenderSpec extends Specification implements GrailsWebUnitTe def "select2Many"() { setup: Map options = [tags:false] - ctx = ctxBuilder().model([source:'mymultioption', type:'select2Many', displayOptions:options]).build() - String expected = """
""" + ctx = ctxBuilder().model([source:'mymultioption', type:'select2Many', displayOptions:options, limit:3]).build() + String expected = """
""" when: editModelWidgetRenderer.renderSelect2Many(ctx)