Sha256: 9a519f563e77d116ad3fefdf9f8e3da04cf48d326772bffdfd3ccab74a245842

Contents?: true

Size: 680 Bytes

Versions: 26

Compression:

Stored size: 680 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)
        view.send(:extend, BreadcrumbsOnRails::ActionController::HelperMethods)
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
blacklight-spotlight-4.1.2 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.1.1 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.1.0 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.0.3 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.0.2 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.0.1 spec/support/views/test_view_helpers.rb
blacklight-spotlight-4.0.0 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta10 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta9 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta8 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.5.0.4 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta7 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.5.0.3 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta6 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta5 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta4 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta3 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.6.0.beta1 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.5.0.2 spec/support/views/test_view_helpers.rb
blacklight-spotlight-3.5.0.1 spec/support/views/test_view_helpers.rb