Sha256: 2d3214554a00eb2e858bf4d321d6cc44d39a7758f50241d9f0ca139313170b21

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 Bytes

Contents

require 'test_helper'

module Workarea
  decorate Storefront::ContentSystemTest, with: :one_theme do
    def test_layout_content
      create_content(
        name: 'Layout',
        blocks: [
          {
            area: :footer_column_1,
            type: 'html',
            data: { html: 'foo bar' }
          }
        ]
      )

      visit storefront.root_path
      assert(page.has_content?('foo bar'))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-one_theme-1.3.1 test/system/workarea/storefront/content_system_test.decorator
workarea-one_theme-1.3.0 test/system/workarea/storefront/content_system_test.decorator