spec/dummy/config/initializers/vault.rb in vault-rails-0.1.2 vs spec/dummy/config/initializers/vault.rb in vault-rails-0.2.0
- old
+ new
@@ -1,9 +1,10 @@
require "vault/rails"
require_relative "../../../support/vault_server"
-Vault.configure do |vault|
+Vault::Rails.configure do |vault|
vault.application = "dummy"
vault.address = RSpec::VaultServer.address
vault.token = RSpec::VaultServer.token
+ vault.enabled = true
end