Sha256: 59c593f30551a816d1b0f0d33f8a22586b5609b41140c874529dba6d2bb68e90
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
module FbCustomMacros def self.included(base) base.extend(ClassMethods) end module ClassMethods def it_should_have_bootstrap_horizontal_wrapping it "should have 'input' class in the right place" do output_buffer.should have_tag("form div.control-group div.controls") end end def it_should_have_bootstrap_controls_label_with(class_name) it "should have bootstrap controls wrapper with class '#{class_name}'" do output_buffer.should have_tag("form div.controls label.#{class_name}") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formtastic-bootstrap-2.0.0 | spec/support/fb_custom_macros.rb |