Sha256: 310972da18fb8672e16e15ca6829ee788b193f228b7de6125199a2b890851d83
Contents?: true
Size: 531 Bytes
Versions: 13
Compression:
Stored size: 531 Bytes
Contents
require 'test_helper' class HomepageAcceptanceTest < ActionDispatch::IntegrationTest test 'home page with link groups' do assert_equal 1, Shop.count visit root_path assert_equal 1, Shop.count assert page.has_content?('powered by') assert page.has_content?('Shop by category') end test 'home page without link groups' do assert_equal 1, Shop.count LinkGroup.delete_all visit root_path assert page.has_content?('powered by') refute page.has_content?('Shop by category') end end
Version data entries
13 entries across 13 versions & 1 rubygems