From 3834e1e69b951d5b26768282bf3bd1aae8f45944 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Sat, 15 Apr 2017 21:40:33 -0400 Subject: View spec fix (#1888) * Add option to disable verify partial doubles * Add show_landing_strip? helper method * Use show_landing_strip? helper in accounts and stream entries views * Fix naming in view specs --- app/views/stream_entries/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/stream_entries') diff --git a/app/views/stream_entries/show.html.haml b/app/views/stream_entries/show.html.haml index 73a2365f0..eb8387ccb 100644 --- a/app/views/stream_entries/show.html.haml +++ b/app/views/stream_entries/show.html.haml @@ -20,7 +20,7 @@ %meta{ property: 'twitter:card', content: 'summary' }/ -- if !user_signed_in? && !single_user_mode? +- if show_landing_strip? = render partial: 'shared/landing_strip', locals: { account: @stream_entry.account } .activity-stream.activity-stream-headless.h-entry -- cgit