提交 abfcdc65 编写于 作者: A Andy Lindeman

Adds missing dependency to ActionView::TestCase::Behavior

* The module is needed for the `determine_constant_from_test_name`
  method.
* Without it, the including class is required to also include
  `ActiveSupport::Testing::ConstantLookup` or a `NoMethodError` will be
  raised upon instantiation of that class.
* Issue introduced in c0a24555
上级 c131211c
......@@ -47,6 +47,8 @@ module Behavior
include ActionView::RecordIdentifier
include ActionView::RoutingUrlFor
include ActiveSupport::Testing::ConstantLookup
delegate :lookup_context, :to => :controller
attr_accessor :controller, :output_buffer, :rendered
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册