Upgrading RSpec - RoRoSyd June 14

Upgrading RSpec - RoRoSyd June 14

Quick talk about the upgrade process for RSpec at #RoRoSyd June 2014

D79fc498d7a5b2ce12180890247476f0?s=128

Jon Rowe

June 10, 2014
Tweet

Transcript

  1. @JONROWE UPGRADING RSPEC

  2. WHY? 2.14 no longer maintained Easily upgrade process New features

  3. New? Zero monkey patching mode Better Ruby 2 support Verifying

    doubles Composable matchers and tonnes more…
  4. BUT I heard `should` was being deprecated.

  5. None
  6. BUT I heard `should` was being deprecated. I heard `its`

    was being deprecated. I heard `x` was being deprecated.
  7. BUT rspec-its rspec-legacy_formatters rspec-collection_matchers rspec-activemodel-mocks rspec-autotest

  8. Upgrade 2.14 2.99 (with warnings) 2.99 (fix warnings) 3.00 *green*

  9. Transpec Written by @yujinakayama Converts syntax for you Configurable options

  10. Demo Time

  11. Caveats 3.0.0.beta2 -> 3.0.0 infer_spec_type_from_file_location!

  12. QUESTIONS? @JONROWE

  13. THANKS @JONROWE