From 73e72a6488a9be9cccec13d00341f5a7cf543093 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Tue, 5 Nov 2013 01:14:12 -0600 Subject: [PATCH] Update the detect_spec testcase --- spec/lib/rex/exploitation/js/detect_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/lib/rex/exploitation/js/detect_spec.rb b/spec/lib/rex/exploitation/js/detect_spec.rb index d029f0a5e1..93b698f108 100644 --- a/spec/lib/rex/exploitation/js/detect_spec.rb +++ b/spec/lib/rex/exploitation/js/detect_spec.rb @@ -11,9 +11,9 @@ describe Rex::Exploitation::Js::Detect do end end - context ".addons" do - it "should load the Addons Detect javascript" do - js = Rex::Exploitation::Js::Detect.addons.to_s + context ".ie_addons" do + it "should load the IE Addons Detect javascript" do + js = Rex::Exploitation::Js::Detect.ie_addons.to_s js.should =~ /window\.addons_detect/ end end