Created
September 19, 2013 11:10
-
-
Save pechorin/6621958 to your computer and use it in GitHub Desktop.
rspec readability tip: duplicate each context/describe description-line after each 'end' keyword
This file contains hidden or 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
describe "#method_a" do | |
# ... | |
end # describe "#method_a | |
describe "#method_b" do | |
# ... | |
context "success" do | |
# ... | |
end # context "#method_b success" | |
end # describe "method_b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment