From 6432bbe67b6fd8a0c15aefa11bb7ccb672684c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Fri, 27 Feb 2015 16:29:49 +0100 Subject: [PATCH] fix --- spec/presenters/statistics_presenter_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,