spec/rails/config/initializers/secret_key_base.rb in faml-0.7.3 vs spec/rails/config/initializers/secret_key_base.rb in faml-0.8.0

- old
+ new

@@ -1,5 +1,5 @@ -# frozen-string-literal: true +# frozen_string_literal: true version = [Rails::VERSION::MAJOR, Rails::VERSION::MINOR] if version == [4, 0] TestApp::Application.configure do config.secret_key_base = YAML.load_file(Rails.root.join('config/secrets.yml'))[Rails.env]['secret_key_base'] end