Rakefile in rails_best_practices-1.19.2 vs Rakefile in rails_best_practices-1.19.3
- old
+ new
@@ -5,10 +5,10 @@
require 'rake'
require 'rspec'
require 'rspec/core/rake_task'
-$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift File.expand_path('lib', __dir__)
require 'rails_best_practices/version'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
end