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
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
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
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
Making the RBS Parser Faster
soutaro
0
710
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
140
UaaL×Androidアプリのメモリ計測 — Memory Profilerの先へ
rio432
0
150
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
360
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
130
GitHubCopilotCLIをはじめよう.pdf
htkym
0
330
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
150
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.5k
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.3k
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
260
要はバランスからの卒業 #yumemi_grow
kajitack
0
150
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Deep Space Network (abreviated)
tonyrice
0
130
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
180
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
110
Ruling the World: When Life Gets Gamed
codingconduct
0
230
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.9k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
280
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
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 ;)