We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc2cae4 commit 8e40aefCopy full SHA for 8e40aef
spec/rails_spec_helper.rb
@@ -26,6 +26,15 @@ def generate
26
fake_logger = Logger.new(nil)
27
config.logger = fake_logger
28
Rails.application.routes.default_url_options = { host: 'example.com' }
29
+
30
+ # fix railties 5.2.0 issue with secret_key_base
31
+ # https://github.com/rails/rails/commit/7419a4f9 should take care of it
32
+ # in the future.
33
+ if Rails::VERSION::STRING == '5.2.0'
34
+ def secret_key_base
35
+ '3b7cd727ee24e8444053437c36cc66c4'
36
+ end
37
38
end
39
@app.respond_to?(:secrets) && @app.secrets.secret_key_base = '3b7cd727ee24e8444053437c36cc66c4'
40
0 commit comments