Sha256: 3e7f10d5cfa1edd802dc587fb65b99612234c5f517142b6fe7d07febc187aa48

Contents?: true

Size: 801 Bytes

Versions: 5

Compression:

Stored size: 801 Bytes

Contents

require 'spec_helper'

describe Caracal::Core::Text do
  subject { Caracal::Document.new }

  #-------------------------------------------------------------
  # Configuration
  #-------------------------------------------------------------

  describe 'configuration tests' do

    # accessors
    describe 'accessors' do
      it { expect(subject.footer_content).to be_nil }
    end
  end

  #-------------------------------------------------------------
  # Public Methods
  #-------------------------------------------------------------

  describe 'public method tests' do

    describe '.footer' do
      before { subject.footer }

      it { expect(subject.footer_content).not_to be_nil }
      it { expect(subject.footer_content).to be_a(Caracal::Core::Models::FooterModel) }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
caracal_the_curve-1.4.6 spec/lib/caracal/core/footer_spec.rb
caracal_the_curve-1.4.5 spec/lib/caracal/core/footer_spec.rb
caracal_the_curve-1.4.4 spec/lib/caracal/core/footer_spec.rb
caracal_the_curve-1.4.3 spec/lib/caracal/core/footer_spec.rb
caracal_the_curve-1.4.2 spec/lib/caracal/core/footer_spec.rb