spec/spec_helper.rb in concurrent-ruby-0.1.0 vs spec/spec_helper.rb in concurrent-ruby-0.1.1.pre.1

- old
+ new

@@ -1,19 +1,21 @@ -require 'eventmachine' - -require 'concurrent' - -# import all the support files -Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require File.expand_path(f) } - -RSpec.configure do |config| - - config.before(:suite) do - end - - config.before(:each) do - end - - config.after(:each) do - end - -end +require 'eventmachine' + +require 'concurrent' +require 'concurrent/functions' + +# import all the support files +Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require File.expand_path(f) } + +RSpec.configure do |config| + config.order = 'random' + + config.before(:suite) do + end + + config.before(:each) do + end + + config.after(:each) do + end + +end