Permalink
Browse files

Simplify require line for spec support files.

  • Loading branch information...
1 parent a4bbd09 commit 21956cf041303c129f8acddfef0d258eee8165ba @myronmarston committed Jan 11, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 spec/spec_helper.rb
View
@@ -7,9 +7,7 @@
# Ruby 1.9.1 has a different yaml serialization format.
YAML_SERIALIZATION_VERSION = RUBY_VERSION == '1.9.1' ? '1.9.1' : 'not_1.9.1'
-# Requires supporting files with custom matchers and macros, etc,
-# in ./support/ and its subdirectories.
-Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require File.join("support", File.basename(f))}
+Dir['./spec/support/**/*.rb'].each { |f| require f }
require 'vcr'
require 'monkey_patches'

0 comments on commit 21956cf

Please sign in to comment.