Skip to content

Commit 5ab8fcd

Browse files
committed
Remove realpath call from expected user_configurations_pathname
MSP-11153 realpath is not used in the actual code anymore because it doesn't work for non-existent paths.
1 parent 188f5d0 commit 5ab8fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/metasploit/framework/database_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@
664664
end
665665

666666
it 'is database.yml under the user config root' do
667-
expect(user_configurations_pathname).to eq(Pathname.new(config_root).realpath.join('database.yml'))
667+
expect(user_configurations_pathname).to eq(Pathname.new(config_root).join('database.yml'))
668668
end
669669
end
670670
end

0 commit comments

Comments
 (0)