Skip to content

Commit

Permalink
Fix creating log directory before initializing Logger
Browse files Browse the repository at this point in the history
`set_configuration` now also assigns Braintree `logger`, but `clear!`
must be called first to create the log directory if it doesn't exist.
  • Loading branch information
mislav authored and gabebw committed Dec 8, 2014
1 parent aef5227 commit e5e0fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fake_braintree.rb
Expand Up @@ -30,8 +30,8 @@ module FakeBraintree
def self.activate!(options = {})
initialize_registry
self.verify_all_cards = false
set_configuration
clear!
set_configuration
boot_server(port: options.fetch(:gateway_port, nil))
end

Expand Down

0 comments on commit e5e0fd4

Please sign in to comment.