spec/spec_helper.rb in rubygems-tasks-0.1.0.pre1 vs spec/spec_helper.rb in rubygems-tasks-0.1.0.pre2
- old
+ new
@@ -1,2 +1,9 @@
gem 'rspec', '~> 2.4'
require 'rspec'
+
+RSpec.configure do |spec|
+ spec.before(:suite) do
+ # clear the $RUBYCONSOLE env variable
+ ENV['RUBYCONSOLE'] = nil
+ end
+end