spec/helper.rb in toystore-0.9.0 vs spec/helper.rb in toystore-0.10.0
- old
+ new
@@ -9,20 +9,19 @@
log_path.mkpath
require 'rubygems'
require 'bundler'
-Bundler.require(:default, :development)
+Bundler.require(:default, :test)
require 'toy'
require 'support/constants'
require 'support/objects'
require 'support/identity_map_matcher'
require 'support/name_and_number_key_factory'
Logger.new(log_path.join('test.log')).tap do |log|
- LogBuddy.init(:logger => log)
Toy.logger = log
end
RSpec.configure do |c|
c.include(Support::Constants)
@@ -33,6 +32,6 @@
Toy::IdentityMap.enabled = false
Toy.clear
Toy.reset
Toy.key_factory = nil
end
-end
\ No newline at end of file
+end