Sha256: 261bf750a1b5ba73c30eeaf12d018ff978bc580bf0eed2fbec792b8a855d51be

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

require 'spec_helper'

module Refinery
  describe 'layout', :type => :feature do
    refinery_login

    let(:home_page) do
      FactoryBot.create :page, :title => 'Home', :link_url => '/'
    end

    describe 'body' do
      it "id is the page's canonical id" do
        visit home_page.url

        expect(page).to have_css 'body#home-page'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-core-4.0.3 spec/features/refinery/application_layout_spec.rb
refinerycms-core-4.0.2 spec/features/refinery/application_layout_spec.rb