spec/spec_helper.rb in bonsai-1.1.4 vs spec/spec_helper.rb in bonsai-1.1.5
- old
+ new
@@ -3,10 +3,10 @@
require 'bonsai'
require 'spec'
require 'spec/autorun'
Spec::Runner.configure do |config|
- Bonsai.configure {|config| config[:enable_logging] = false }
+ Bonsai.config = { :enable_logging => false }
BONSAI_PATH = "#{File.dirname(__FILE__)}/support" unless defined? BONSAI_PATH
Bonsai.root_dir = BONSAI_PATH
end