diff options
Diffstat (limited to 'test/rdoc')
-rw-r--r-- | test/rdoc/test_rdoc_i18n_locale.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rdoc/test_rdoc_i18n_locale.rb b/test/rdoc/test_rdoc_i18n_locale.rb index c936a7219f..42d22edf4d 100644 --- a/test/rdoc/test_rdoc_i18n_locale.rb +++ b/test/rdoc/test_rdoc_i18n_locale.rb @@ -23,9 +23,9 @@ class TestRDocI18nLocale < RDoc::TestCase end def test_load_nonexistent_po - File.stub(:exist?, false) do - refute @locale.load('nonexsitent-locale') - end + locale = File.join(@locale_dir, 'nonexsitent-locale') + refute_file locale + refute @locale.load(locale) end def test_load_existent_po |