spec/integration/templates/form.rb in garterbelt-0.0.9 vs spec/integration/templates/form.rb in garterbelt-0.1.0
- old
+ new
@@ -15,10 +15,10 @@
block.call if block
end
end
def form_options
- options.merge(:method => legal_method)
+ initialization_options.merge(:method => legal_method)
end
def legal_method
if ['get', 'post'].include?( method )
method
\ No newline at end of file