Fix the indeterminate test issue. (#791)
The issue was due to a couple describe blocks not matching the definition in . Since their name didn't match, wasn't getting included in the minitest-specs. Since the teardown didn't exist, the view context leaked to the next tests to be ran.
This commit is contained in:
parent
f20fbda4d2
commit
bcbfed6f3f
|
@ -13,12 +13,12 @@ describe "A decorator test" do
|
|||
it_does_not_leak_view_context
|
||||
end
|
||||
|
||||
describe "A controller test" do
|
||||
subject{ Class.new(ActionController::Base) }
|
||||
describe "A controller decorator test" do
|
||||
subject { Class.new(ActionController::Base) }
|
||||
|
||||
it_does_not_leak_view_context
|
||||
end
|
||||
|
||||
describe "A mailer test" do
|
||||
describe "A mailer decorator test" do
|
||||
it_does_not_leak_view_context
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue