spec/swiftformat/swiftformat_spec.rb in danger-swiftformat-0.3.4 vs spec/swiftformat/swiftformat_spec.rb in danger-swiftformat-0.3.5
- old
+ new
@@ -1,5 +1,5 @@
-require File.expand_path("../../spec_helper", __FILE__)
+require File.expand_path("../spec_helper", __dir__)
RSpec.describe Danger::SwiftFormat do
describe "#installed?" do
context "when no path is given" do
it "should use the default path" do