Skip to content

Commit

Permalink
switch to support gem for caller filter
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Oct 21, 2013
1 parent cdf83bf commit 3315cf8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/caller.rb
@@ -1,7 +1,7 @@
$LOAD_PATH.unshift(File.expand_path("../../lib", __FILE__))

require 'benchmark'
require 'rspec/caller_filter'
require 'rspec/support/caller_filter'

n = 10000

Expand Down
7 changes: 5 additions & 2 deletions lib/rspec/core.rb
Expand Up @@ -11,7 +11,11 @@
require 'set'
require 'time'
require 'rbconfig'
require_rspec['core/caller_filter']

require_rspec['core/version']

require 'rspec/support/caller_filter'

require_rspec['core/flat_map']
require_rspec['core/filter_manager']
require_rspec['core/dsl']
Expand All @@ -35,7 +39,6 @@
require_rspec['core/shared_example_group/collection']
require_rspec['core/shared_example_group']
require_rspec['core/example_group']
require_rspec['core/version']

module RSpec
autoload :SharedContext, 'rspec/core/shared_context'
Expand Down
2 changes: 1 addition & 1 deletion lib/rspec/core/rake_task.rb
@@ -1,4 +1,4 @@
require 'rspec/core/warnings'
require 'rspec/support/warnings'
require 'rake'
require 'rake/tasklib'
require 'shellwords'
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -115,6 +115,8 @@ def without_env_vars(*vars)
end
end

require 'rspec/support/spec'

RSpec.configure do |c|
# structural
c.alias_it_behaves_like_to 'it_has_behavior'
Expand Down

0 comments on commit 3315cf8

Please sign in to comment.