# File lib/test/rails/view_test_case.rb, line 267 def assert_field(*args) form_action, type, model, column, value = Symbol === args.first ? [nil, *args] : args if form_action then # HACK deprecate assert_input form_action, type, "#{model}[#{column}]", value assert_label form_action, "#{model}_#{column}" else assert_input type, "#{model}[#{column}]", value assert_label "#{model}_#{column}" end end