From 9262f6968becb7f046396b783b60be93073601a8 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 28 Apr 2017 10:45:24 -0400 Subject: Fix broken spec for about/links view partial (#2586) --- spec/views/about/_links.html.haml_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/views') diff --git a/spec/views/about/_links.html.haml_spec.rb b/spec/views/about/_links.html.haml_spec.rb index 5026fd8f8..a5d2c8924 100644 --- a/spec/views/about/_links.html.haml_spec.rb +++ b/spec/views/about/_links.html.haml_spec.rb @@ -7,7 +7,7 @@ describe 'about/_links.html.haml' do instance_presenter = double(:instance_presenter, open_registrations: true) assign(:instance_presenter, instance_presenter) allow(view).to receive(:user_signed_in?).and_return(true) - render + render 'about/links', instance: InstancePresenter.new expect(rendered).to have_content(I18n.t('about.get_started')) expect(rendered).not_to have_content(I18n.t('auth.login')) @@ -17,7 +17,7 @@ describe 'about/_links.html.haml' do instance_presenter = double(:instance_presenter, open_registrations: true) assign(:instance_presenter, instance_presenter) allow(view).to receive(:user_signed_in?).and_return(false) - render + render 'about/links', instance: InstancePresenter.new expect(rendered).to have_content(I18n.t('about.get_started')) expect(rendered).to have_content(I18n.t('auth.login')) -- cgit