<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -119,9 +119,11 @@ Screw.Unit(function() {
                 expect(obj.pizza.validate).to_not(raise);
             });
 
-            it(&quot;should match null and undefined arguments&quot;, function() {
-                Screw.Stub.shouldReceive(obj, &quot;pizza&quot;).withArguments(null, undefined, &quot;pineapple&quot;);
-                obj.pizza(null, undefined, &quot;pineapple&quot;);
+            it(&quot;should correctly match null values in specified argument list&quot;, function() {
+                obj.pizza = function() { return &quot;gross&quot; };
+                Screw.Stub.shouldReceive(obj, &quot;pizza&quot;).withArguments(null, &quot;cheese&quot;).andReturn(&quot;null yummy&quot;);
+                expect(obj.pizza()).to(equal, &quot;gross&quot;);
+                expect(obj.pizza(null, &quot;cheese&quot;)).to(equal, &quot;null yummy&quot;);
                 expect(obj.pizza.validate).to_not(raise);
             });
 </diff>
      <filename>spec/stub_spec.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c3b258ec980203be43d2b7269671544d08946945</id>
    </parent>
    <parent>
      <id>c912bee393e897ddc0bfd8fecf8ac6442915db7a</id>
    </parent>
  </parents>
  <author>
    <name>Peter Jaros</name>
    <email>peeja@dropio.com</email>
  </author>
  <url>http://github.com/tobowers/screw-unit/commit/75055453794a1861215883c99ffb592b1dd5aed7</url>
  <id>75055453794a1861215883c99ffb592b1dd5aed7</id>
  <committed-date>2009-05-29T08:29:51-07:00</committed-date>
  <authored-date>2009-05-29T08:29:51-07:00</authored-date>
  <message>Merge commit 'matschaffer/master'

* commit 'matschaffer/master':
  Corrected handling of withArguments to support argument lists that contained a null value.

Conflicts:
	lib/screw.stub.js
	spec/stub_spec.js</message>
  <tree>9bb69cfe6eed82b4b74c61e6ba5b2d28d65dbed8</tree>
  <committer>
    <name>Peter Jaros</name>
    <email>peeja@dropio.com</email>
  </committer>
</commit>
