Create only tha data you need #10

andreareginato opened this Issue Oct 3, 2012 · 2 comments


None yet

3 participants


Write your thoughts about the "create only the data you need" best practice.

eladg commented Jan 9, 2016

@andreareginato It seems that have / have_at_least / have_at_most were deprecated.


rspec-expectations 2.99.0.beta1 - Full Changelog

Deprecations: Deprecate have, have_at_least and have_at_most. 
You can continue using those matchers through, 
or you can rewrite your expectations with something like expect(your_object.size).to eq(num). 
(Hugo Baraúna)

would suggest updating those examples...

onebree commented Jan 11, 2016

@eladg Feel free to submit a pull request with changes. It would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment