spec/spec_helper.rb in cocaine-0.3.1 vs spec/spec_helper.rb in cocaine-0.3.2
- old
+ new
@@ -1,10 +1,12 @@
require 'rspec'
-require './spec/support/with_exitstatus'
-require './spec/support/stub_os'
require 'mocha'
require 'bourne'
require 'cocaine'
+require 'timeout'
+require 'tempfile'
+
+Dir[File.dirname(__FILE__) + "/support/**.rb"].each{|support_file| require support_file }
RSpec.configure do |config|
config.mock_with :mocha
config.include WithExitstatus
config.include StubOS