Skip to content

Commit 125cc27

Browse files
author
Brent Cook
committed
updated expected exception from a bad module load
1 parent 5d70b83 commit 125cc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/rex/post/meterpreter/client_core_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
context 'with a missing a module' do
4444
let(:mod) {"eaten_by_av"}
4545
it 'should be available' do
46-
expect { client_core.use(mod) }.to raise_error(TypeError)
46+
expect { client_core.use(mod) }.to raise_error(RuntimeError)
4747
end
4848
end
4949

0 commit comments

Comments
 (0)