spec/spec_helper.rb in bonsai-1.3.1 vs spec/spec_helper.rb in bonsai-1.3.2
- old
+ new
@@ -1,11 +1,11 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'bonsai'
-require 'spec'
-require 'spec/autorun'
+require 'rspec'
+require 'rspec/autorun'
-Spec::Runner.configure do |config|
+RSpec.configure do |config|
Bonsai.config = { :enable_logging => false }
BONSAI_PATH = "#{File.dirname(__FILE__)}/support" unless defined? BONSAI_PATH
Bonsai.root_dir = BONSAI_PATH
end