Permalink
Browse files

shorten nested group names

  • Loading branch information...
dchelimsky committed Apr 2, 2010
1 parent 0f99955 commit 0aca341a315e82e5a5a670d14d550e351b793104
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 0aca341

Please sign in to comment.