Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify spec support includes

  • Loading branch information...
commit abd88369d3f421a53cf74b464de58044d7a74d26 1 parent f043c05
Martin Emde martinemde authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 spec/spec_helper.rb
7 spec/spec_helper.rb
View
@@ -28,11 +28,10 @@
require 'tmpdir'
require 'yaml'
require 'pp'
-support = Dir[File.join(EY_ROOT,'/spec/support/*.rb')]
-support.each{|helper| require helper }
-support = Dir[File.join(EY_ROOT,'/spec/support/fake_awsm/*.rb')]
-support.each{|helper| require helper }
+Dir[File.join(EY_ROOT,'/spec/support/*.rb'), File.join(EY_ROOT,'/spec/support/fake_awsm/*.rb')].each do |helper|
+ require helper
+end
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
Please sign in to comment.
Something went wrong with that request. Please try again.