Skip to content

Instantly share code, notes, and snippets.

@pechorin
Created September 19, 2013 11:10
Show Gist options
  • Save pechorin/6621958 to your computer and use it in GitHub Desktop.
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
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