Sha256: ba1d0f11a2cd18c08a73276418d98420faa2db6a1b11447a75a4b5aa305a2e86

Contents?: true

Size: 600 Bytes

Versions: 13

Compression:

Stored size: 600 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  module TestViewHelpers
    extend ActiveSupport::Concern

    included do
      before do
        view.send(:extend, Spotlight::RenderingHelper)
        view.send(:extend, Spotlight::MainAppHelpers)
        view.send(:extend, Spotlight::CrudLinkHelpers)
        view.send(:extend, Spotlight::TitleHelper)
        view.send(:extend, Spotlight::NavbarHelper)
        view.send(:extend, Spotlight::CropHelper)
        view.send(:extend, Spotlight::PagesHelper)
        view.send(:extend, Blacklight::ComponentHelperBehavior)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
blacklight-spotlight-4.7.0 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.6.1 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.6.0 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.5.0 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.4.0 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.3.6 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.3.5 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.3.4 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.3.3 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.3.2 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.3.1 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.3.0 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.2.0 spec/support/views/test_view_helpers.rb