Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

start at the start

  • Loading branch information...
commit 3375deb28ad2e371f6d3277503ae1fe9d2ce4337 1 parent b2b459a
@dchelimsky dchelimsky authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/rspec/core/example.rb
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.