diff --git a/spec/reek/configuration/excluded_paths_spec.rb b/spec/reek/configuration/excluded_paths_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/reek/configuration/excluded_paths_spec.rb
+++ b/spec/reek/configuration/excluded_paths_spec.rb
@@ -17,7 +17,7 @@ RSpec.describe Reek::Configuration::ExcludedPaths do
 
     it 'adds the given paths as Pathname' do
       exclusions.add(paths)
-      expect(exclusions).to eq expected_exclude_paths
+      expect(exclusions).to match_array expected_exclude_paths
     end
   end
 end
Fix for #<I> to support Glob patterns in exclude_paths with match_array for rspec