Permalink
Browse files

refactor: rename method

  • Loading branch information...
1 parent 2c60898 commit f1e2024981f2a29d5b3282c6650e98f5c4e748bd @dchelimsky dchelimsky committed Jul 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rspec/core/example.rb
View
4 lib/rspec/core/example.rb
@@ -129,7 +129,7 @@ def run(example_group_instance, reporter)
@example_group_instance = nil
begin
- assign_auto_description
+ assign_generated_description
rescue Exception => e
set_exception(e, "while assigning the example description")
end
@@ -308,7 +308,7 @@ def run_after_each
@example_group_instance.teardown_mocks_for_rspec
end
- def assign_auto_description
+ def assign_generated_description
return unless RSpec.configuration.expecting_with_rspec?
if metadata[:description].empty? and !pending?
metadata[:description] = RSpec::Matchers.generated_description

0 comments on commit f1e2024

Please sign in to comment.