Last active
December 14, 2015 21:49
-
-
Save attilagyorffy/5154385 to your computer and use it in GitHub Desktop.
Pro tip: How not to write RSpec tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context "when you name your it blocks that they depend on your test data" do | |
it "becomes hard for others to understand how your program is meant to behave" do | |
go_and_sell_vegetables_at_the_market_instead | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment