Sha256: 6fabd372f0402c7a1105ceeeda07f59fd95724f94b3a7c4ad5d151bfdb498afa

Contents?: true

Size: 371 Bytes

Versions: 6

Compression:

Stored size: 371 Bytes

Contents

require 'spec_helper'

module Refinery
  describe 'layout' do
    refinery_login_with :refinery_user

    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

        page.should have_css 'body#home-page'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-core-2.1.5 spec/features/refinery/application_layout_spec.rb
refinerycms-core-2.1.4 spec/features/refinery/application_layout_spec.rb
refinerycms-core-2.1.3 spec/features/refinery/application_layout_spec.rb
refinerycms-core-2.1.2 spec/features/refinery/application_layout_spec.rb
refinerycms-core-2.1.1 spec/features/refinery/application_layout_spec.rb
refinerycms-core-2.1.0 spec/features/refinery/application_layout_spec.rb