spec/shared/support/wipe_store.rb in secret_service-0.0.1 vs spec/shared/support/wipe_store.rb in secret_service-0.1.0
- old
+ new
@@ -1,7 +1,7 @@
module SecretServiceSpec
def self.wipe_store
- SecretService.instance_variable_set(:@secrets, nil)
+ SecretService.send(:reset)
SecretService::DatabaseStore.get.drop_database
end
end
(defined?(Spec) ? Spec::Runner : RSpec).configure do |config|