Sha256: b361c00608235dba73f0b7bc5d65a562a24a7f7db0b29a95e981791943673c32
Contents?: true
Size: 360 Bytes
Versions: 7
Compression:
Stored size: 360 Bytes
Contents
require "spec_helper" describe Microformat::AttributeDefinition do subject { Microformat::AttributeDefinition } describe "#initialize" do it "should accept a block of nested attributes" do map = subject.new do |map| map.attribute(:one) map.attribute(:two) end expect(map.attributes.size).to eq(2) end end end
Version data entries
7 entries across 7 versions & 2 rubygems