Skip to content

Commit

Permalink
Combine Let and Subject modules into one
Browse files Browse the repository at this point in the history
  • Loading branch information
exviva committed Jan 4, 2013
1 parent df58558 commit 0c70d63
Show file tree
Hide file tree
Showing 8 changed files with 497 additions and 506 deletions.
3 changes: 1 addition & 2 deletions lib/rspec/core.rb
Expand Up @@ -23,8 +23,7 @@

require_rspec['core/metadata_hash_builder']
require_rspec['core/hooks']
require_rspec['core/subject']
require_rspec['core/let']
require_rspec['core/memoized_helpers']
require_rspec['core/metadata']
require_rspec['core/pending']
require_rspec['core/formatters']
Expand Down
5 changes: 1 addition & 4 deletions lib/rspec/core/example_group.rb
Expand Up @@ -13,15 +13,12 @@ module Core
# which serves as a wrapper for an instance of the ExampleGroup in which it
# is declared.
class ExampleGroup
include Let # Subject::ExampleGroupMethods depends on this module, so include it first

extend MetadataHashBuilder::WithDeprecationWarning
extend Extensions::ModuleEvalWithArgs
extend Subject::ExampleGroupMethods
extend Hooks

include MemoizedHelpers
include Extensions::InstanceEvalWithArgs
include Subject::ExampleMethods
include Pending
include SharedExampleGroup

Expand Down
166 changes: 0 additions & 166 deletions lib/rspec/core/let.rb

This file was deleted.

0 comments on commit 0c70d63

Please sign in to comment.