Sha256: 4f298fb5d703eadfd4d8ade4bfa129f7218b5c50c3867f20783612db480c44fe
Contents?: true
Size: 1.66 KB
Versions: 1
Compression:
Stored size: 1.66 KB
Contents
addMock "submitSimpleFormResponse", status: "success" addMock "submitPollingFormResponse", pollId: "1234" addMock "submitFormPollingCheckResponse", pollCompleted: true pollData: success: true countdownTime: 300 addMock "submitFormPollingCheckFailedResponse", pollCompleted: false addMock "simpleForm", type: "simple" action: "/submit-simple-form" method: "POST" elements: -> [ { name: "street1", value: "123 Duval", validationRules: [ "required", "alphanumeric"], addError: -> } { name: "street2", value: "", validationRules: [ "alphanumeric" ], addError: -> } { name: "city", value: "Austin", validationRules: [ "required" ], addError: -> } { name: "state", value: "TX", validationRules: [ "required" ], addError: -> } { name: "zipCode", value: "78753", validationRules: [ "required", "numeric", "maxLength=5", "minLength=5" ], addError: -> } ] serialize: -> "street1=123 Duval&street2=&city=Austin&state=TX&zipCode=78753" addMock "pollingForm", type: "polling" action: "/submit-polling-form" method: "POST" serialize: -> "products[1234]=2&products[2345]=3" addMock "invalidForm", elements: -> [ { name: "street1", value: "$$$#", validationRules: [ "required", "alphanumeric"], addError: -> } { name: "street2", value: "", validationRules: [ "alphanumeric" ], addError: -> } { name: "city", value: "", validationRules: [ "required" ], addError: -> } { name: "state", value: "", validationRules: [ "required" ], addError: -> } { name: "zipCode", value: "asdf", validationRules: [ "required", "numeric", "maxLength=5", "minLength=5" ], addError: -> } ]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hoarder-js-0.0.1 | spec/support/mocks.coffee |