diff --git a/spec/models/site_setting_spec.rb b/spec/models/site_setting_spec.rb index 9b87678b3fd..cf9b5174b45 100644 --- a/spec/models/site_setting_spec.rb +++ b/spec/models/site_setting_spec.rb @@ -163,7 +163,7 @@ describe SiteSetting do it 'should act as a proxy to the new methods' do begin - original_settings = SiteSettings::DeprecatedSettings::SETTINGS + original_settings = SiteSettings::DeprecatedSettings::SETTINGS.dup SiteSettings::DeprecatedSettings::SETTINGS.clear SiteSettings::DeprecatedSettings::SETTINGS.push([