spec/spec_helper.rb in nanoc-4.8.0 vs spec/spec_helper.rb in nanoc-4.8.1

- old
+ new

@@ -34,10 +34,10 @@ end end end c.around(:each, chdir: false) do |example| - FileUtils.cd(File.dirname(__FILE__) + '/..') do + FileUtils.cd(__dir__ + '/..') do example.run end end c.before(:each) do