Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for required attribute spec on textarea

  • Loading branch information...
commit 050ed235220fbb3a77f9ba627302c97e453d8890 1 parent 368d878
@justinfrench authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/inputs/text_input_spec.rb
View
4 spec/inputs/text_input_spec.rb
@@ -20,7 +20,7 @@
it_should_have_label_for("post_body")
it_should_have_textarea_with_id("post_body")
it_should_have_textarea_with_name("post[body]")
- it_should_apply_error_logic_for_input_type(:numeric)
+ it_should_apply_error_logic_for_input_type(:number)
it 'should use input_html to style inputs' do
output_buffer.replace ''
@@ -85,7 +85,7 @@
concat(semantic_form_for(@new_post) do |builder|
concat(builder.input(:title, :as => :text, :required => true))
end)
- output_buffer.should have_tag("input[@required]")
+ output_buffer.should have_tag("textarea[@required]")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.