commit
9a2268fc1c
|
@ -619,6 +619,10 @@ RSpec.describe Metasploit::Framework::Database do
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'without MSF_DATABASE_CONFIG' do
|
context 'without MSF_DATABASE_CONFIG' do
|
||||||
|
before(:each) do
|
||||||
|
ENV.delete('MSF_DATABASE_CONFIG')
|
||||||
|
end
|
||||||
|
|
||||||
it { is_expected.to be_nil }
|
it { is_expected.to be_nil }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -667,4 +671,4 @@ RSpec.describe Metasploit::Framework::Database do
|
||||||
expect(user_configurations_pathname).to eq(Pathname.new(config_root).join('database.yml'))
|
expect(user_configurations_pathname).to eq(Pathname.new(config_root).join('database.yml'))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue