metasploit-framework/spec/lib/rex/exploitation/js/utils_spec.rb

17 lines
296 B
Ruby
Raw Normal View History

2013-10-22 01:18:36 +00:00
require 'rex/exploitation/js'
describe Rex::Exploitation::Js::Utils do
context "Class methods" do
context ".base64" do
it "should load the base64 javascript" do
js = Rex::Exploitation::Js::Utils.base64
js.should =~ /encode : function/
end
end
end
end