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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
490
Migrando a Microservicios
janogonzalez
1
340
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
220
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
アーキテクチャモダナイゼーションとは何か
nwiizo
19
5.5k
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.3k
의존성 주입과 모듈화
fornewid
0
150
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
120
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
2
130
PHPer、Cloudflare に引っ越す
suguruooki
1
110
GitHubCopilotCLIをはじめよう.pdf
htkym
0
290
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
820
JOAI2026 1st solution - heron0519 -
heron0519
0
150
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.7k
CDK Deployのための ”反響定位”
watany
5
890
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
120
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7k
Agile that works and the tools we love
rasmusluckow
331
21k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
520
The Curious Case for Waylosing
cassininazir
0
320
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
500
Typedesign – Prime Four
hannesfritz
42
3k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
AI: The stuff that nobody shows you
jnunemaker
PRO
6
600
The browser strikes back
jonoalderson
0
990
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
Why Our Code Smells
bkeepers
PRO
340
58k
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 ;)