pablobm left a comment (openstreetmap/openstreetmap-website#2185)

For a new datapoint: I cloned the repo today and can see the errors if I run 
the test suite without the `config/settings.local.yml` file. Eg:

```
$ docker compose run --rm web bundle exec rails test:all
[+] Creating 1/1
 ✔ Container openstreetmap-website-db-1  Running                                
                                                                                
                                                                       0.0s
Running 2526 tests in parallel using 8 processes
Run options: --seed 14882

# Running:

..............................................E

Error:
Messages::RepliesControllerTest#test_new:
ActionView::Template::Error: couldn't find file 'settings.local.yml'
Checked in these paths:
  /app/app/assets/config
  /app/app/assets/favicons
  /app/app/assets/images
  /app/app/assets/javascripts
  /app/app/assets/opensearch
  /app/app/assets/stylesheets
  /app/vendor/assets/iD
  /app/vendor/assets/jquery
  /app/vendor/assets/leaflet
  /usr/local/bundle/gems/teaspoon-1.4.0/app/assets/javascripts
  /usr/local/bundle/gems/teaspoon-1.4.0/app/assets/stylesheets
  /usr/local/bundle/gems/doorkeeper-5.8.2/app/assets/stylesheets
  /usr/local/bundle/gems/doorkeeper-5.8.2/vendor/assets/stylesheets
  /usr/local/bundle/gems/bootstrap_form-5.4.0/app/assets/stylesheets
  /usr/local/bundle/gems/jquery-rails-4.6.0/vendor/assets/javascripts
  /usr/local/bundle/gems/turbo-rails-2.0.16/app/assets/javascripts
  /usr/local/bundle/gems/actiontext-8.0.2/app/assets/javascripts
  /usr/local/bundle/gems/actiontext-8.0.2/app/assets/stylesheets
  /usr/local/bundle/gems/actioncable-8.0.2/app/assets/javascripts
  /usr/local/bundle/gems/activestorage-8.0.2/app/assets/javascripts
  /usr/local/bundle/gems/actionview-8.0.2/app/assets/javascripts
  /app/config
  /app/node_modules
  /usr/local/bundle/gems/popper_js-2.11.8/assets/javascripts
  /usr/local/bundle/gems/bootstrap-5.3.5/assets/stylesheets
  /usr/local/bundle/gems/bootstrap-5.3.5/assets/javascripts
  /app/test/javascripts
  /app/test/javascripts/stylesheets
  /usr/local/bundle/gems/teaspoon-mocha-2.3.3/lib/teaspoon/mocha/assets
    app/assets/javascripts/osm.js.erb:2
    app/views/layouts/_head.html.erb:4
    app/views/layouts/_head.html.erb:1
    app/views/layouts/site.html.erb:5
    app/views/layouts/site.html.erb:2
    app/views/layouts/map.html.erb:83
    config/initializers/policy_headers.rb:11:in `call'
    config/initializers/compressed_requests.rb:27:in `call'
    test/test_helper.rb:212:in `session_for'
    test/controllers/messages/replies_controller_test.rb:25:in `test_new'


bin/rails test test/controllers/messages/replies_controller_test.rb:14
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2185#issuecomment-3150863745
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/2185/3150863...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to