Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
A Little RSpec
Search
Jano González
September 26, 2011
Programming
300
2
Share
A Little RSpec
The basics of RSpec, code at
https://github.com/janogonzalez/a-little-rspec
Jano González
September 26, 2011
More Decks by Jano González
See All by Jano González
Containerizing your monolith
janogonzalez
0
500
Migrando a Microservicios
janogonzalez
1
350
Extracting services from a monolith
janogonzalez
3
290
¿Después de 10 años, realmente entiendo esta industria?
janogonzalez
3
520
Microservices in Practice
janogonzalez
7
720
Two programmers in one
janogonzalez
1
230
The Bipolar Programmer
janogonzalez
4
650
Ruby for your two internal programmers
janogonzalez
4
290
Ruby for Java minds
janogonzalez
4
1.1k
Other Decks in Programming
See All in Programming
20260514_its_the_context_window_stupid.pdf
heita
0
1.1k
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
0
340
Inside Stream API
skrb
1
140
1人1案件のプロダクトエンジニア時代に、"プロセス監督"としてチャレンジしたこと
non0113
0
310
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
950
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
380
Transactional Change Stream Processing With Debezium and Apache Flink
gunnarmorling
1
130
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
1.8k
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
110
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
230
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
210
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1k
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
180
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
430
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
310
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
210
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Skip the Path - Find Your Career Trail
mkilby
1
130
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
280
Side Projects
sachag
455
43k
Designing Powerful Visuals for Engaging Learning
tmiket
1
380
Deep Space Network (abreviated)
tonyrice
0
150
Transcript
Jano González Developer A Little RSpec
code: https://github.com/janogonzalez/a-little-rspec
From testing to describing code
Describing Code
Describing Code
Describing Code • describe: The thing to describe • it:
The expected behavior • should/should_not: The assertion
DRYing
DRYing
DRYing • before: Preparing the test case • after: Clean
up • around: Mix before & after
A little more context
A little more context
A little more context • context
More DRYing
More DRYing
More DRYing • let • let!
More DRYing
More DRYing • implicit subject
More DRYing
More DRYing • implicit subject • it • its
More DRYing
More DRYing • explicit subject
More info
More info • @dchelimsky • The RSpec Book • @janogonzalez
;) • http://gemaroja.com ;)