spec/watirspec/browser_spec.rb in watir-webdriver-0.1.0 vs spec/watirspec/browser_spec.rb in watir-webdriver-0.1.1
- old
+ new
@@ -24,10 +24,10 @@
it "returns the DOM of the page as an HTML string" do
browser.goto(WatirSpec.files + "/right_click.html")
html = browser.html.downcase # varies between browsers
html.should =~ /^<html/
- html.should include('<meta http-equiv="content-type" content="text/html; charset=utf-8">')
+ html.should include('<meta content="text/html; charset=utf-8" http-equiv="content-type" />')
end
end
deviates_on [:webdriver, :ie] do
it "returns the DOM of the page as an HTML string" do