mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix instance variable not defined warning from Active Support test suite
Before ./Users/Juan/dev/rails/activesupport/test/file_update_checker_shared_tests.rb:20: warning: instance variable @tmpdir not initialized After No warnings
This commit is contained in:
parent
99c1043aa9
commit
67a7a1526f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module FileUpdateCheckerSharedTests
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
FileUtils.rm_rf(@tmpdir) if @tmpdir
|
FileUtils.rm_rf(@tmpdir) if defined? @tmpdir
|
||||||
end
|
end
|
||||||
|
|
||||||
test 'should not execute the block if no paths are given' do
|
test 'should not execute the block if no paths are given' do
|
||||||
|
|
Loading…
Reference in a new issue