spec/spec_helper.rb in paraduct-0.0.1.beta3 vs spec/spec_helper.rb in paraduct-0.0.1.beta4
- old
+ new
@@ -15,10 +15,11 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'paraduct'
require 'paraduct/cli'
require 'rspec/collection_matchers'
require 'rspec/temp_dir'
+require 'rspec/its'
require 'pry'
def spec_dir
Pathname(File.dirname(__FILE__))
end
@@ -113,6 +114,11 @@
# as the one that triggered the failure.
Kernel.srand config.seed
=end
config.order = :random
+
+ config.before do
+ # quiet
+ allow(Object).to receive(:puts)
+ end
end