diff options
author | Yossef Mendelssohn <ymendel@pobox.com> | 2008-10-24 17:06:18 -0500 |
---|---|---|
committer | Yossef Mendelssohn <ymendel@pobox.com> | 2008-10-24 17:16:36 -0500 |
commit | a07796dba6c8ede22b682e7478e82434c2756c68 (patch) | |
tree | 5c1ae4c64f9449436e63489c785c3662dbf2b155 /test | |
parent | a52cbeac0162b6f786f0ee9fc8b34d74cf4abc6e (diff) | |
download | bacon-a07796dba6c8ede22b682e7478e82434c2756c68.tar.gz bacon-a07796dba6c8ede22b682e7478e82434c2756c68.tar.xz bacon-a07796dba6c8ede22b682e7478e82434c2756c68.zip |
Ensuring that before blocks don't bleed into sibling levels
Diffstat (limited to 'test')
-rw-r--r-- | test/spec_bacon.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/spec_bacon.rb b/test/spec_bacon.rb index fd3e09b..2eba03c 100644 --- a/test/spec_bacon.rb +++ b/test/spec_bacon.rb @@ -297,6 +297,12 @@ describe "before/after" do it "should not run from lower level" do @c.should.be.nil end + + describe "when nested at a sibling level" do + it "should not run from sibling level" do + @c.should.be.nil + end + end end shared "a shared context" do |