Sha256: 6167bc764d01f12afa66b9940db413903d749ed675a9afcaf002a9c3c82fd6b6

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

require "spec_helper"

describe HungryForm::Html do
  it_behaves_like "an element" do
    let(:element_options) { {} }
  end

  describe ".new" do
    let(:resolver) { HungryForm::Resolver.new() }
    let(:options) { {value: "body text"} }
    subject { HungryForm::Html.new(:html, nil, resolver, options) {} }

    it "should have a value" do
      expect(subject.value).to eq "body text"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hungryform-0.0.2 spec/elements/html_spec.rb