Bug #22073
Test failure on Rails 5.1
Description
Tests are currently failing on Rails 5.1 with the following error:
ArgumentError: wrong number of arguments (1 for 0) plugin/app/models/katello/kt_environment.rb:83:in `default_content_view' plugin/app/models/katello/glue/pulp/repos.rb:47:in `prepopulate!' plugin/app/helpers/katello/sync_management_helper.rb:38:in `collect_repos' (ArgumentError) /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-1/gems/activerecord-5.1.4/lib/active_record/associations/singular_association.rb:5
This is due to https://github.com/rails/rails/commit/09cac8c67afdc4b2a1c6ae07931ddc082629b277 which removed the force_reload argument on the singular association reader.
Related issues
Associated revisions
History
#1
Updated by Tomer Brisker over 4 years ago
- Related to Bug #20317: Rails 5 compatibility added
#2
Updated by Anonymous over 4 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
Applied in changeset katello|91b7adcf2425a3218a2629899f0954aa094be96e.
#3
Updated by Eric Helms over 4 years ago
- Legacy Backlogs Release (now unused) set to 284
Fixes #22073 - Fix failing test on Rails 5.1