lib/assert/assert_runner.rb in assert-2.0.1 vs lib/assert/assert_runner.rb in assert-2.0.2
- old
+ new
@@ -11,10 +11,10 @@
apply_user_settings
apply_local_settings
apply_option_settings(test_options)
apply_env_settings
- files = test_files(test_paths.empty? ? Assert.config.test_dir : test_paths)
+ files = test_files(test_paths.empty? ? [*Assert.config.test_dir] : test_paths)
Assert.init(files, {
:test_dir_path => path_of(Assert.config.test_dir, files.first)
})
end