spec/spec_helper.rb in cobregratis-0.1.0 vs spec/spec_helper.rb in cobregratis-0.2.1

- old
+ new

@@ -1,9 +1,12 @@ -$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) +$LOAD_PATH.unshift(File.dirname(__FILE__)) +require 'rspec' require 'cobregratis' -require 'spec' -require 'spec/autorun' -Spec::Runner.configure do |config| +# Requires supporting files with custom matchers and macros, etc, +# in ./support/ and its subdirectories. +Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} + +RSpec.configure do |config| end