<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -156,6 +156,7 @@ print = function(txt) { Ruby.puts(txt); };
       return makeNode( this._dom.createElement(name.toLowerCase()) );
     },
     getElementsByTagName: function(name){
+      Ruby.puts(this._dom);
       return new DOMNodeList( this._dom.getElementsByTagName(
         name.toLowerCase()) );
     },</diff>
      <filename>js/johnson/browser/env.js</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ console = {
   indentation: 0,
   indent: function() {
     for(i=0;i&lt;this.indentation - 1;i++) Ruby.print(&quot;  &quot;);
-    if(this.indentation &gt; 0) Ruby.print(&quot;- &quot;)
+    if(this.indentation &gt; 0) Ruby.print(&quot;- &quot;);
   },
   group: function(msg) {
     this.info(msg);
@@ -174,4 +174,19 @@ jspec.matchers[&quot;be_instanceof&quot;] = {
       &quot;to be an instance of &quot; + jspec.print_object(target) + &quot;, but was &quot; + 
       jspec.print_object(target.constructor);
   }
+}
+
+jspec.matchers[&quot;have_constructor&quot;] = {
+  describe: function(self, target, not) {
+    return jspec.print_object(self) + &quot; should &quot; + (not ? &quot;not &quot; : &quot;&quot;) + 
+      &quot;have &quot; + jspec.print_object(target) + &quot; as its constructor&quot;;
+  },
+  matches: function(self, target) {
+    return self instanceof target;
+  },
+  failure_message: function(self, target, not) {
+    return &quot;Expected &quot; + jspec.print_object(self) + (not ? &quot;not &quot; : &quot;&quot;) + 
+      &quot;to have &quot; + jspec.print_object(target) + &quot;, as its constructor but was &quot; + 
+      jspec.print_object(target.constructor);
+  }
 }
\ No newline at end of file</diff>
      <filename>test/jspec/jspec.js</filename>
    </modified>
    <modified>
      <diff>@@ -7,7 +7,12 @@ jspec.describe(&quot;awesomeness&quot;, function() {
     window.location = fileLocation;
     Johnson.waitForThreads();
     expect(window.location).to(&quot;==&quot;, uriLocation);
-    expect(document).to(&quot;be_instanceof&quot;, DOMDocument);
-    expect(document.childNodes).to(&quot;be_instanceof&quot;, Array);
+    expect(document).to(&quot;have_constructor&quot;, DOMDocument);
+    document.body;
+    document.body;
+    document.body;
+    // expect(document.body).to(&quot;have_constructor&quot;, DOMNode);
   });
-});
\ No newline at end of file
+});
+
+;
\ No newline at end of file</diff>
      <filename>test/jspec/simple_spec.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d7e38f0a1a1e777ca2370838fc6a7f8dc0b05b92</id>
    </parent>
  </parents>
  <author>
    <name>Yehuda Katz</name>
    <email>wycats@gmail.com</email>
  </author>
  <url>http://github.com/jbarnette/johnson/commit/8f379af3241e2b6cb791eec868d41be20d736255</url>
  <id>8f379af3241e2b6cb791eec868d41be20d736255</id>
  <committed-date>2008-05-31T17:46:16-07:00</committed-date>
  <authored-date>2008-05-31T17:46:16-07:00</authored-date>
  <message>It's not over till it's over br0.</message>
  <tree>a48c9430cfee04b85259f18aa99f14325d40befe</tree>
  <committer>
    <name>Yehuda Katz</name>
    <email>wycats@gmail.com</email>
  </committer>
</commit>
