Sha256: 46ed8632f6aa0204129727f52b3991bdd8785006cac6f877428e58678b125928

Contents?: true

Size: 259 Bytes

Versions: 9

Compression:

Stored size: 259 Bytes

Contents

require 'spec_helper'

describe Formulaic::Form do
  it 'throws an error if it does not know how to fill an attribute type' do
    expect { Formulaic::Form.new(nil, nil, { invalid: nil }) }.to raise_error(Formulaic::Form::InvalidAttributeTypeError)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
formulaic-0.4.1 spec/formulaic/form_spec.rb
formulaic-0.4.0 spec/formulaic/form_spec.rb
formulaic-0.3.0 spec/formulaic/form_spec.rb
formulaic-0.2.0 spec/formulaic/form_spec.rb
formulaic-0.1.4 spec/formulaic/form_spec.rb
formulaic-0.1.3 spec/formulaic/form_spec.rb
formulaic-0.1.2 spec/formulaic/form_spec.rb
formulaic-0.1.1 spec/formulaic/form_spec.rb
formulaic-0.1.0 spec/formulaic/form_spec.rb