Skip to content

Instantly share code, notes, and snippets.

@cupakromer
Created January 17, 2014 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cupakromer/8480641 to your computer and use it in GitHub Desktop.
Save cupakromer/8480641 to your computer and use it in GitHub Desktop.
describe MyClass do
context "with a barish foo" do
let(:foo) { :bar }
context "doing thing 1" do # #instance_method_1
# ...
end
context "doing thing 2" do # #instance_method_2
# ...
end
end
context "with a quxly foo" do
let(:foo) { :qux }
context "doing thing 1" do # #instance_method_1
# ...
end
context "doing thing 2" do # #instance_method_2
# ...
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment