Replace Hpricot with Nokogiri

This commit is contained in:
Jaime Iniesta
2013-02-12 09:46:45 -05:00
parent 84a167725d
commit 6995e75d41
15 changed files with 36 additions and 34 deletions

View File

@ -19,7 +19,10 @@ describe CookedPostProcessor do
end
it 'inserts the onebox' do
@cpp.html.should == "GANGNAM STYLE"
@cpp.html.should == <<EXPECTED
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><body>GANGNAM STYLE</body></html>
EXPECTED
end
end