From bcbfed6f3fd3f1f83105947b12d31232dda70568 Mon Sep 17 00:00:00 2001 From: Cliff Braton Date: Fri, 31 Mar 2017 14:25:00 -0500 Subject: [PATCH] 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. --- spec/dummy/test/decorators/minitest/view_context_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/dummy/test/decorators/minitest/view_context_test.rb b/spec/dummy/test/decorators/minitest/view_context_test.rb index c2d6b6f..4f7482f 100644 --- a/spec/dummy/test/decorators/minitest/view_context_test.rb +++ b/spec/dummy/test/decorators/minitest/view_context_test.rb @@ -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