Fix spec to refer to postInfo().
parent
bccbed2757
commit
7d975dfa87
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue