ratnikov-shoulda 2.9.0.2 → 2.9.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/shoulda/context.rb +1 -2
- metadata +1 -1
data/lib/shoulda/context.rb
CHANGED
|
@@ -258,9 +258,8 @@ module Shoulda
|
|
|
258
258
|
test_unit_class.send(:define_method, test_name) do
|
|
259
259
|
begin
|
|
260
260
|
context.run_all_setup_blocks(self)
|
|
261
|
-
context.run_parent_evaluate_blocks(self)
|
|
262
261
|
should[:before].bind(self).call if should[:before]
|
|
263
|
-
context.
|
|
262
|
+
context.run_all_evaluate_blocks(self)
|
|
264
263
|
should[:block].bind(self).call
|
|
265
264
|
ensure
|
|
266
265
|
context.run_all_teardown_blocks(self)
|