Fix spec to refer to postInfo().

bug/bundler_fix
joev 2013-11-02 16:54:22 -05:00
parent bccbed2757
commit 7d975dfa87
1 changed files with 5 additions and 5 deletions

View File

@ -11,14 +11,14 @@ describe Rex::Exploitation::Js::Network do
end end
end end
context ".ajax_download" do context ".ajax_post" do
it "should load the ajax_post javascript" do it "should load the postInfo javascript" do
js = Rex::Exploitation::Js::Network.ajax_download js = Rex::Exploitation::Js::Network.ajax_post
js.should =~ /function ajax_post/ js.should =~ /function postInfo/
end end
end end
end end
end end