Created
September 24, 2019 22:34
-
-
Save bsharpe/50b82628db28438092854fd1b1360817 to your computer and use it in GitHub Desktop.
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
# Why do this? | |
context "some test" do | |
before { setup_work } | |
it do | |
expect(things).to be_correct | |
end | |
end | |
# when you can do this? | |
it "should do the right thing" do | |
setup_work | |
expect(things).to be_correct | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment