Update the detect_spec testcase

bug/bundler_fix
sinn3r 2013-11-05 01:14:12 -06:00
parent 5f2d8358c0
commit 73e72a6488
1 changed files with 3 additions and 3 deletions

View File

@ -11,9 +11,9 @@ describe Rex::Exploitation::Js::Detect do
end end
end end
context ".addons" do context ".ie_addons" do
it "should load the Addons Detect javascript" do it "should load the IE Addons Detect javascript" do
js = Rex::Exploitation::Js::Detect.addons.to_s js = Rex::Exploitation::Js::Detect.ie_addons.to_s
js.should =~ /window\.addons_detect/ js.should =~ /window\.addons_detect/
end end
end end