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.
Files changed (2) hide show
  1. data/lib/shoulda/context.rb +1 -2
  2. metadata +1 -1
@@ -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.run_current_evaluate_blocks(self)
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratnikov-shoulda
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0.2
4
+ version: 2.9.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tammer Saleh