lib/repla/logger/test/Rakefile in repla-0.7.5 vs lib/repla/logger/test/Rakefile in repla-0.7.6
- old
+ new
@@ -6,10 +6,10 @@
namespace :logger do
task tests: [:clean_up]
task :test_logger do
- logger_tests_file = File.join(File.dirname(__FILE__), 'tc_logger.rb')
+ logger_tests_file = File.join(__dir__, 'tc_logger.rb')
ruby Shellwords.escape(logger_tests_file)
end
task clean_up: [:test_logger] do
end