spec/swiftformat/plugin_spec.rb in danger-swiftformat-0.3.4 vs spec/swiftformat/plugin_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__)
module Danger
describe Danger::DangerSwiftformat do
it "should be a plugin" do
expect(Danger::DangerSwiftformat.new(nil)).to be_a Danger::Plugin