spec/helpers/form_helpers_spec.rb in twitter-bootstrap-markup-rails-0.3.0 vs spec/helpers/form_helpers_spec.rb in twitter-bootstrap-markup-rails-0.3.1

- old
+ new

@@ -120,7 +120,17 @@ end end end end + + context "password_field" do + it "should wrap a text input within the magical div tags" do + build_bootstrap_form do |f| + f.password_field 'method' + end + + output_buffer.should have_tag('div.control-group div.controls input[type=password]') + end + end end -end \ No newline at end of file +end