Quick talk about the upgrade process for RSpec at #RoRoSyd June 2014
@JONROWEUPGRADINGRSPEC
View Slide
WHY?2.14 no longer maintainedEasily upgrade processNew features
New?Zero monkey patching modeBetter Ruby 2 supportVerifying doublesComposable matchersand tonnes more…
BUTI heard `should` was being deprecated.
BUTI heard `should` was being deprecated.I heard `its` was being deprecated.I heard `x` was being deprecated.
BUTrspec-itsrspec-legacy_formattersrspec-collection_matchersrspec-activemodel-mocksrspec-autotest
Upgrade2.142.99 (with warnings)2.99 (fix warnings)3.00 *green*
TranspecWritten by @yujinakayamaConverts syntax for youConfigurable options
Demo Time
Caveats3.0.0.beta2 -> 3.0.0infer_spec_type_from_file_location!
QUESTIONS?@JONROWE
THANKS@JONROWE