Sha256: ddbb68af570fdaaa984130a698e6539c6bfe4000d73ed06e428f6b208ccdd504

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

require "spec_helper"

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

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

  describe ".new" do
    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.4 spec/elements/html_spec.rb