spec/spec_helper.rb in rubypython-0.6.2 vs spec/spec_helper.rb in rubypython-0.6.3

- old
+ new

@@ -50,16 +50,20 @@ class RubyPython::RubyPyProxy [:should, :should_not, :class].each { |m| reveal(m) } end end - config.before(:all, :self_start => nil) do + config.before(:all) do RubyPython.start @sys = RubyPython.import 'sys' @sys.path.append File.join(dir, 'python_helpers') @objects = RubyPython.import 'objects' @basics = RubyPython.import 'basics' + end + + config.before(:all, :self_start => true) do + RubyPython.stop end config.after(:all) do RubyPython.stop end