def it_should_have_tag_with(type, attribute_value_hash)
      attribute_value_hash.each do |attribute, value|
        it "should have a #{type} box with #{attribute} '#{value}'" do
          expect(output_buffer).to have_tag("form li #{type}[@#{attribute}=\"#{value}\"]")
        end
      end
    end
def it_should_have_tag_with(type, attribute_value_hash)
      attribute_value_hash.each do |attribute, value|
        it "should have a #{type} box with #{attribute} '#{value}'" do
          expect(output_buffer).to have_tag("form li #{type}[@#{attribute}=\"#{value}\"]")
        end
      end
    end
TODO use for many of the other macros