Sha256: 3e8f9093a23357ac0029b28f518ff6440874b85bb32f6e204d632c0efb3514d1

Contents?: true

Size: 490 Bytes

Versions: 8

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

module Archangel
  module TestingSupport
    ##
    # Liquid tag meta type for testing
    #
    module LiquidTags
      extend ActiveSupport::Concern
      include Archangel::TestingSupport::ViewControllerContext

      included do
        metadata[:type] = :liquid_tag

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

RSpec.configure do |config|
  config.include Archangel::TestingSupport::LiquidTags, type: :liquid_tag
end

Version data entries

8 entries across 8 versions & 1 rubygems

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