Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove redundant statement

  • Loading branch information...
commit 86a0813f00334dbc3f10dbc8f6bc036e54cae0c0 1 parent 0ac4e6e
@dchelimsky dchelimsky authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/rspec/core/extensions/object.rb
View
1  lib/rspec/core/extensions/object.rb
@@ -2,7 +2,6 @@ module RSpec
module Core
module ObjectExtensions
def describe(*args, &example_group_block)
- args << {} unless args.last.is_a?(Hash)
RSpec::Core::ExampleGroup.describe(*args, &example_group_block).register
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.