features/fixtures/cli-app/spec/spec_helper.rb in aruba-0.8.1 vs features/fixtures/cli-app/spec/spec_helper.rb in aruba-0.9.0.pre

- old
+ new

@@ -1,10 +1,9 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'cli/app' -require 'aruba/rspec' -if RUBY_VERSION < '1.9.' +if RUBY_VERSION < '1.9.3' ::Dir.glob(::File.expand_path('../support/**/*.rb', __FILE__)).each { |f| require File.join(File.dirname(f), File.basename(f, '.rb')) } else ::Dir.glob(::File.expand_path('../support/**/*.rb', __FILE__)).each { |f| require_relative f } end