diff --git a/spec/markaby/html5_spec.rb b/spec/markaby/html5_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/markaby/html5_spec.rb
+++ b/spec/markaby/html5_spec.rb
@@ -95,6 +95,9 @@ describe Markaby do
       end
     end
 
-    doc.should == "<!DOCTYPE html><html><input type=\"text\" name=\"foo\" value=\"bar\" placeholder=\"something\"/></html>"
+    doc.should include('<input type="text" ')
+    doc.should include('name="foo"')
+    doc.should include('value="bar"')
+    doc.should include('placeholder="something"')
   end
 end
probably fix for hashes being out of order