Created
July 11, 2014 13:21
-
-
Save jtadeulopes/693e45a8751631bc994a to your computer and use it in GitHub Desktop.
Conditional hooks
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
describe Classroom do | |
subject(:classroom) { Classroom.new } | |
context "when the children are rowdy" do | |
before(:each, run: true) do | |
classroom.throw_pizza_party | |
end | |
it "example1", run: :true | |
it "example2" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment