Sha256: 538ecf24a79a615b55ec0219d89e18584e3b75550a682c129aae20e1ca1209e5

Contents?: true

Size: 374 Bytes

Versions: 9

Compression:

Stored size: 374 Bytes

Contents

require 'spec_helper'

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

    let(:home_page) do
      FactoryGirl.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

9 entries across 9 versions & 1 rubygems

Version Path
refinerycms-core-4.0.1 spec/features/refinery/application_layout_spec.rb
refinerycms-core-3.0.6 spec/features/refinery/application_layout_spec.rb
refinerycms-core-4.0.0 spec/features/refinery/application_layout_spec.rb
refinerycms-core-3.0.5 spec/features/refinery/application_layout_spec.rb
refinerycms-core-3.0.4 spec/features/refinery/application_layout_spec.rb
refinerycms-core-3.0.3 spec/features/refinery/application_layout_spec.rb
refinerycms-core-3.0.2 spec/features/refinery/application_layout_spec.rb
refinerycms-core-3.0.1 spec/features/refinery/application_layout_spec.rb
refinerycms-core-3.0.0 spec/features/refinery/application_layout_spec.rb