diff --git a/lib/rspec/core/example.rb b/lib/rspec/core/example.rb index 9bccc8065d..d03a52f252 100644 --- a/lib/rspec/core/example.rb +++ b/lib/rspec/core/example.rb @@ -31,12 +31,11 @@ def in_block? alias_method :behaviour, :example_group def run(example_group_instance, reporter) + start @in_block = false @example_group_instance = example_group_instance @example_group_instance.example = self - run_started - exception = nil the_example = lambda do @@ -90,7 +89,7 @@ def accum.run; call; end end end - def run_started + def start record_results :started_at => Time.now end