Added feature to add content block to headings in sidebar -- rebase

This commit is contained in:
Milber Champutiz Burbano
2018-11-27 09:37:35 -05:00
parent e23fbc8d58
commit 9f455b9165
25 changed files with 289 additions and 48 deletions

View File

@@ -9,10 +9,13 @@ feature "Admin custom content blocks" do
scenario "Index" do
block = create(:site_customization_content_block)
heading_block = create(:heading_content_block)
visit admin_site_customization_content_blocks_path
expect(page).to have_content(block.name)
expect(page).to have_content(block.body)
expect(page).to have_content(heading_block.heading.name)
expect(page).to have_content(heading_block.body)
end
context "Create" do