title: Ruby On Rails Mocha Expects
body: <p>I have a function which I'm trying to test</p>
  
  <pre><code>@@described_class.expects(:foo).with(
    1,
    2,
    &lt;any number&gt;
  )
  
  @@described_class.bar()
  </code></pre>
  
  <p>so here my function <code>bar</code> calls <code>foo</code>. Is there a way to set this up where <code>:foo's</code> third parameter can be any number?</p>