Files
metasploit-gs/test/functional/meterpreter/java_meterpreter_specs.rb
T
Jonathan Cran 81ce82c8ee add a php spec
git-svn-id: file:///home/svn/framework3/trunk@11509 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-07 20:17:32 +00:00

20 lines
418 B
Ruby

module MsfTest
module JavaMeterpreterSpecs
## This file is intended to be used in conjunction with a harness,
## such as meterpreter_win32_spec.rb
def self.included(base)
base.class_eval do
it "should not error when taking a screenshot" do
success_strings = [ 'Screenshot saved to' ]
hlp_run_command_check_output("screenshot","screenshot", success_strings)
end
end
end
end
end