Skip to content

Commit a50ced3

Browse files
committed
Fix failed test to load social_buttons_book partial
1 parent 757359a commit a50ced3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/controllers/sotechsha_overview_page_controller_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
sts_posts = BlogPostPage.where(:_permalink, :starts_with, 'sotechsha/').order(created: :asc)
1212
expect(assigns(:sts_posts).to_a).to eq sts_posts.to_a
1313
expect(response).to render_template "sotechsha_overview_page/index"
14-
expect(response).to render_template partial: "_sitemap_sotechsha", count: 1
15-
expect(response).to render_template partial: "_footer", count: 1
16-
expect(response).to render_template partial: "_social_buttons_book", count: 1
14+
expect(response).to render_template partial: "_sitemap_sotechsha", count: 1
15+
expect(response).to render_template partial: "_footer", count: 1
16+
expect(response).to render_template partial: "_social_buttons", count: 1
1717
end
1818
end
1919
end

0 commit comments

Comments
 (0)