mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue