Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

shorten nested group names

  • Loading branch information...
commit 0aca341a315e82e5a5a670d14d550e351b793104 1 parent 0f99955
@dchelimsky dchelimsky authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rspec/core/example_group.rb
View
2  lib/rspec/core/example_group.rb
@@ -110,7 +110,7 @@ def self.describe(*args, &example_group_block)
@_subclass_count ||= 0
@_subclass_count += 1
const_set(
- "NestedLevel_#{@_subclass_count}",
+ "Nested_#{@_subclass_count}",
_build(Class.new(self), caller, args, &example_group_block)
)
end
Please sign in to comment.
Something went wrong with that request. Please try again.