method
method_missing
rails latest stable - Class:
ActionDispatch::SystemTesting::TestHelpers::UndefMethods
method_missing(method, *args, &block)public
No documentation available.
# File actionpack/lib/action_dispatch/system_testing/test_helpers/undef_methods.rb, line 15
def method_missing(method, *args, &block)
if METHODS.include?(method)
raise NoMethodError, "System tests cannot make direct requests via ##{method}; use #visit and #click_on instead. See http://www.rubydoc.info/github/teamcapybara/capybara/master#The_DSL for more information."
else
super
end
end