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:
Cliff Braton 2017-03-31 14:25:00 -05:00 committed by GitHub
parent f20fbda4d2
commit bcbfed6f3f
1 changed files with 3 additions and 3 deletions

View File

@ -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