spec/wcc_spec.rb in danger-wcc-0.0.4 vs spec/wcc_spec.rb in danger-wcc-0.0.5
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-require File.expand_path('../spec_helper', __FILE__)
+require File.expand_path('spec_helper', __dir__)
module Danger
describe Danger::DangerWCC do
it 'should be a plugin' do
expect(Danger::DangerWCC.new(nil)).to be_a Danger::Plugin