Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
A Little RSpec
Search
Jano González
September 26, 2011
Programming
310
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
530
Migrando a Microservicios
janogonzalez
1
370
Extracting services from a monolith
janogonzalez
3
320
¿Después de 10 años, realmente entiendo esta industria?
janogonzalez
3
550
Microservices in Practice
janogonzalez
7
740
Two programmers in one
janogonzalez
1
260
The Bipolar Programmer
janogonzalez
4
680
Ruby for your two internal programmers
janogonzalez
4
320
Ruby for Java minds
janogonzalez
4
1.2k
Other Decks in Programming
See All in Programming
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
1.8k
GraphQL の onError と Nullability のこれから
quramy
0
210
Getting Started with Vibe Coding
miccheng
0
190
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
AI-Powered Domain-Driven Design
ziobrando
0
410
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
5.2k
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
200
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
310
ActionController meets Protocol Buffers
sorah
1
790
Next.js: The final boss of Web Performance
guaca
0
380
Seven New Principles of Software Engineering
yegor256
0
460
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
How to Ace a Technical Interview
jacobian
280
24k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530
Are puppies a ranking factor?
jonoalderson
2
4.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
エンジニアに許された特別な時間の終わり
watany
109
250k
Believing is Seeing
oripsolob
1
270
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
630
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
3
1.2k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
760
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
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 ;)