-
-
Save tatey/18beb68b8c0e000d93c14f88cd37e9f8 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
require "./spec_helper" | |
describe "Nested Contexts" do | |
Spec.before_each do | |
puts "1" | |
end | |
context "inner" do | |
Spec.before_each do | |
puts "2" | |
end | |
it "is inner" do | |
end | |
end | |
it "is outer" do | |
end | |
end |
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
todone(master*)$ crystal spec | |
1 | |
2 | |
.1 | |
2 | |
. | |
Finished in 1.8 milliseconds | |
2 examples, 0 failures, 0 errors, 0 pending |
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
todone(master*)$ crystal spec | |
1 | |
2 | |
.1 | |
. | |
Finished in 1.8 milliseconds | |
2 examples, 0 failures, 0 errors, 0 pending |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment