Skip to content

Commit

Permalink
Test: Don't load defaults as old ruby versions load old Rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikker committed Jun 16, 2023
1 parent 235e169 commit c446bba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 3 additions & 0 deletions test/dummy/app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
11 changes: 0 additions & 11 deletions test/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,8 @@

module Dummy
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.0

routes.default_url_options[:host] = "localhost:3000"
config.action_mailer.default_url_options = {host: "localhost", port: "3000"}
config.hosts << "www.example.com"

# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files
# in config/environments, which are processed later.
#
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")
end
end

0 comments on commit c446bba

Please sign in to comment.