diff --git a/spec/presenters/statistics_presenter_spec.rb b/spec/presenters/statistics_presenter_spec.rb index 354ad0031..d586fdff1 100644 --- a/spec/presenters/statistics_presenter_spec.rb +++ b/spec/presenters/statistics_presenter_spec.rb @@ -51,7 +51,7 @@ describe StatisticsPresenter do "name" => AppConfig.settings.pod_name, "network" => "Diaspora", "version" => AppConfig.version_string, - "registrations_open" => AppConfig.settings.enable_registrations, + "registrations_open" => AppConfig.settings.enable_registrations?, "total_users" => User.total_users.count, "active_users_halfyear" => User.halfyear_actives.count, "active_users_monthly" => User.monthly_actives.count,