Sha256: 30f68531e19c636c00b8446de0ff418e3a298d2def16f311275c205d617497a5

Contents?: true

Size: 377 Bytes

Versions: 6

Compression:

Stored size: 377 Bytes

Contents

require "spec_helper"

describe ExamplesController do
  describe '#index' do
    subject do
      get :index
    end

    it 'breadcrumbs' do
      is_expected.to be_success
      expect(controller.send(:breadcrumbs)).to eq([])
    end

    it 'breadcrumb_trails' do
      is_expected.to be_success
      expect(controller.send(:breadcrumb_trails)).to eq([])
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
breadcrumble-5.0.0 spec/controllers/examples_controller_spec.rb
breadcrumble-4.3.1 spec/controllers/examples_controller_spec.rb
breadcrumble-4.3.0 spec/controllers/examples_controller_spec.rb
breadcrumble-4.2.1 spec/controllers/examples_controller_spec.rb
breadcrumble-4.2.0 spec/controllers/examples_controller_spec.rb
breadcrumble-4.1.0 spec/controllers/examples_controller_spec.rb