Sha256: 80e23fee33b70c5c9b17b18f14c2b8b1e34eb5953143401f31e910258198a62f

Contents?: true

Size: 505 Bytes

Versions: 8

Compression:

Stored size: 505 Bytes

Contents

# frozen_string_literal: true

module Archangel
  module TestingSupport
    ##
    # Liquid filter meta type for testing
    #
    module LiquidFilters
      extend ActiveSupport::Concern
      include Archangel::TestingSupport::ViewControllerContext

      included do
        metadata[:type] = :liquid_filter

        before(:each) { setup_view_and_controller }
      end
    end
  end
end

RSpec.configure do |config|
  config.include Archangel::TestingSupport::LiquidFilters, type: :liquid_filter
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 lib/archangel/testing_support/support/liquid_filters.rb
archangel-0.0.8 lib/archangel/testing_support/support/liquid_filters.rb
archangel-0.0.7 lib/archangel/testing_support/support/liquid_filters.rb
archangel-0.0.6 lib/archangel/testing_support/support/liquid_filters.rb
archangel-0.0.5 lib/archangel/testing_support/support/liquid_filters.rb
archangel-0.0.4 lib/archangel/testing_support/support/liquid_filters.rb
archangel-0.0.3 lib/archangel/testing_support/support/liquid_filters.rb
archangel-0.0.2 lib/archangel/testing_support/support/liquid_filters.rb