title: Rails Rspec integer equals string ("1" == 1)
body: <p>How, in rspec, do you compare the value of something while ignoring the type?</p>
  
  <pre><code>Failure/Error: expect(variable).to eql model.id
  
    expected: 1234
         got: "1234"
  
    (compared using eql?)
  </code></pre>
  
  <p>I've tried <code>eq</code> (which compares using <code>==</code>) and <code>eql</code> (which compares using <code>eql?</code>)... I've also read <a href="https://stackoverflow.com/a/32926980/224707">https://stackoverflow.com/a/32926980/224707</a>.</p>
  
  <p>How do I make rspec consider those two values equal?</p>