Browse files

field_error_proc spec: fix block call

  • Loading branch information...
1 parent 514f158 commit 41c8e87875802252719675c6c026c7454bba239a @tokland tokland committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/helpers/form_helper_spec.rb
View
2 spec/helpers/form_helper_spec.rb
@@ -138,7 +138,7 @@
describe ActionView::Base.field_error_proc do
it 'is set to no-op wrapper by default' do
semantic_form_for(@new_post, :url => '/hello') do |builder|
- ::ActionView::Base.field_error_proc.call("html").should == "html"
+ ::ActionView::Base.field_error_proc.call("html", nil).should == "html"
end
end

0 comments on commit 41c8e87

Please sign in to comment.