about summary refs log tree commit diff
path: root/spec/views/about
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-02-22 01:03:48 +0100
committerGitHub <noreply@github.com>2018-02-22 01:03:48 +0100
commitc71aa468b5ce2aed9f9fcd0cc6c0c97166e239d3 (patch)
tree2fb8899b1b9bf68e315ac3e0f5bee3071faf3715 /spec/views/about
parentd8bc64bb09750b9e47c1ea1bb502e88a8dd676d5 (diff)
Redesign landing page (again) (#6486)
* Redesign landing page (again)

* Move login form in small version to the right column

* Display closed registrations message

* Add site setting for the hero image

* Fix test

* Increase spacing, maximum width, change call to action section
Diffstat (limited to 'spec/views/about')
-rw-r--r--spec/views/about/show.html.haml_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/views/about/show.html.haml_spec.rb b/spec/views/about/show.html.haml_spec.rb
index 724643cbc..03d6fb7ab 100644
--- a/spec/views/about/show.html.haml_spec.rb
+++ b/spec/views/about/show.html.haml_spec.rb
@@ -16,6 +16,9 @@ describe 'about/show.html.haml', without_verify_partial_doubles: true do
                                 source_url: 'https://github.com/tootsuite/mastodon',
                                 open_registrations: false,
                                 thumbnail: nil,
+                                hero: nil,
+                                user_count: 0,
+                                status_count: 0,
                                 closed_registrations_message: 'yes')
     assign(:instance_presenter, instance_presenter)
     render