Sha256: 6a794a1db7e4e633fbe78acdf2bd49cf1a7049f7674c6cc8f47c5df330d3299d
Contents?: true
Size: 454 Bytes
Versions: 5
Compression:
Stored size: 454 Bytes
Contents
require 'spec_helper' require 'druid/elements' describe Druid::Elements::Form do describe "interface" do let(:element) { double 'element' } let(:form) { Druid::Elements::Form.new(element) } it "should submit a form" do expect(element).to receive(:submit) form.submit end it "should register with tag_name :form" do expect(Druid::Elements.element_class_for(:form)).to be Druid::Elements::Form end end end
Version data entries
5 entries across 5 versions & 2 rubygems