Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Upgrading RSpec - RoRoSyd June 14
Jon Rowe
June 10, 2014
Programming
1
58
Upgrading RSpec - RoRoSyd June 14
Quick talk about the upgrade process for RSpec at #RoRoSyd June 2014
Jon Rowe
June 10, 2014
Tweet
Share
More Decks by Jon Rowe
See All by Jon Rowe
jonrowe
0
140
jonrowe
0
72
jonrowe
0
120
jonrowe
1
190
jonrowe
3
320
jonrowe
0
63
jonrowe
0
40
jonrowe
0
110
jonrowe
0
91
Other Decks in Programming
See All in Programming
boriswilhelms
0
170
sters
2
140
andpad
4
290
takutakahashi
3
310
selcukusta
2
110
kawaji_scratch
0
120
kilometer
4
500
nkjzm
1
220
christianweyer
PRO
0
310
gernotstarke
0
390
itok
1
960
nearmugi
0
190
Featured
See All Featured
mza
80
4.1k
jacobian
255
20k
jcasabona
8
560
3n
163
22k
reverentgeek
27
2k
smashingmag
230
18k
keithpitt
401
20k
matthewcrist
73
7.5k
stephaniewalter
260
11k
lynnandtonic
272
16k
brad_frost
157
6.5k
jrom
116
7.2k
Transcript
@JONROWE UPGRADING RSPEC
WHY? 2.14 no longer maintained Easily upgrade process New features
New? Zero monkey patching mode Better Ruby 2 support Verifying
doubles Composable matchers and tonnes more…
BUT I heard `should` was being deprecated.
None
BUT I heard `should` was being deprecated. I heard `its`
was being deprecated. I heard `x` was being deprecated.
BUT rspec-its rspec-legacy_formatters rspec-collection_matchers rspec-activemodel-mocks rspec-autotest
Upgrade 2.14 2.99 (with warnings) 2.99 (fix warnings) 3.00 *green*
Transpec Written by @yujinakayama Converts syntax for you Configurable options
Demo Time
Caveats 3.0.0.beta2 -> 3.0.0 infer_spec_type_from_file_location!
QUESTIONS? @JONROWE
THANKS @JONROWE