Project

General

Profile

Actions

Refactor #23492

closed

SettingTest#test_first_or_create_works fails with Rails 5.2

Added by Anonymous about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

SettingTest#test_first_or_create_works:
NoMethodError: undefined method `to_sym' for nil:NilClass
Did you mean?  to_m
    app/models/setting.rb:207:in `create'
    test/models/setting_test.rb:218:in `block in test_first_or_create_works'
    test/models/setting_test.rb:216:in `test_first_or_create_works'

Related issues 1 (0 open1 closed)

Blocks Foreman - Tracker #21834: Rails 5.2 upgrade tasksClosed

Actions
Actions

Also available in: Atom PDF