提交 277eb057 编写于 作者: N Neeraj Singh

class WithSymbolReturningString is not used anywhere in the test.

Secondly it seemed from the method that the intent was to test a case
where layout was declared in a symbol and the method named mention in
layout returns nil.

That case is already covered with class     class WithSymbolReturningNil .

Also the case of SymbolReturningString is covered with the class
WithSymbol.
上级 54b0aeba
......@@ -87,18 +87,6 @@ def hello
end
end
class WithSymbolReturningString < Base
layout :no_hello
def index
render :template => ActionView::Template::Text.new("Hello missing symbol!")
end
private
def no_hello
nil
end
end
class WithSymbolReturningNil < Base
layout :nilz
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册