summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorYossef Mendelssohn <ymendel@pobox.com>2008-10-24 17:20:17 -0500
committerYossef Mendelssohn <ymendel@pobox.com>2008-10-24 17:20:17 -0500
commit072975b523a5ce6c76a3e826876ae358060b60ce (patch)
treea3208f50129605786a4b1b3400abad10e1c6fa25 /test
parent6c8e263c5edfc3627dc004a1c26b19be6a25ca6b (diff)
downloadbacon-072975b523a5ce6c76a3e826876ae358060b60ce.tar.gz
bacon-072975b523a5ce6c76a3e826876ae358060b60ce.tar.xz
bacon-072975b523a5ce6c76a3e826876ae358060b60ce.zip
Having higher-level after blocks also be run for nested contexts.
Diffstat (limited to 'test')
-rw-r--r--test/spec_bacon.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/spec_bacon.rb b/test/spec_bacon.rb
index b3981ee..a0eeffd 100644
--- a/test/spec_bacon.rb
+++ b/test/spec_bacon.rb
@@ -299,6 +299,7 @@ describe "before/after" do
     
     it "should run in the right order" do
       @a.should.equal 5
+      @a = 2
     end
   end