Sha256: 2d35b685189d556c09563129ac2833b409125a465a7c7b91191044398a3b945b
Contents?: true
Size: 558 Bytes
Versions: 6
Compression:
Stored size: 558 Bytes
Contents
require "spec_helper" describe HungryForm::Elements::Html do let(:resolver_options) { {} } let(:resolver) { HungryForm::Resolver.new(resolver_options) } let(:group_options) { {} } let(:group) { HungryForm::Elements::Group.new(:group, nil, resolver, group_options) {} } let(:options) { { value: 'body text' } } subject { HungryForm::Elements::Html.new(:element_name, nil, resolver, options) {} } it_behaves_like 'an element' describe '.new' do it 'should have a value' do expect(subject.value).to eq 'body text' end end end
Version data entries
6 entries across 6 versions & 1 rubygems