Skip to content

Commit

Permalink
Fix deprecations in test app
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonBarnabe committed May 27, 2024
1 parent 0ef5dc5 commit 4de8cf2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/support/devise_i18n_views_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def self.use_devise_views!
@view_to_render = nil
attr_accessor :view_to_render

secrets.secret_token = "secret_token"
secrets.secret_key_base = "secret_key_base"
credentials.secret_token = "secret_token"
credentials.secret_key_base = "secret_key_base"

config.logger = Logger.new($stdout)
Rails.logger = config.logger
Expand Down
1 change: 1 addition & 0 deletions spec/support/fake_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def self.start
require 'devise-i18n'

app = Class.new(Rails::Application)
app.config.load_defaults 7.1
app.config.eager_load = false
app.config.i18n.enforce_available_locales = false
app.config.middleware.use OmniAuth::Builder do
Expand Down
1 change: 1 addition & 0 deletions tmp/local_secret.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b54aeaf1d49c4f4fbb160c57b563b7770e5f8b9e2ced7dabe6ac3c4dc9068b4ad0922f252de3f97cff49d947e5b8a2af1dc8ddac4982547934e7172ad701c009

0 comments on commit 4de8cf2

Please sign in to comment.