Sha256: 916a9fd2cd14894993fae08908defc31138eae5df943c25c9f71297be67e3d4e

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

require 'spec_helper'

class AssetTagFilterKlass
  include Liquid::Rails::AssetTagFilter
end

module Liquid
  module Rails
    describe AssetTagFilter do
      subject { AssetTagFilterKlass.new }

      it { should delegate(:audio_tag).to(:__h__) }
      it { should delegate(:auto_discovery_link_tag).to(:__h__) }
      it { should delegate(:favicon_link_tag).to(:__h__) }
      it { should delegate(:image_alt).to(:__h__) }
      it { should delegate(:image_tag).to(:__h__) }
      it { should delegate(:javascript_include_tag).to(:__h__) }
      it { should delegate(:stylesheet_link_tag).to(:__h__) }
      it { should delegate(:video_tag).to(:__h__) }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
liquid-rails-0.2.0 spec/lib/liquid-rails/filters/asset_tag_filter_spec.rb
liquid-rails-0.2.0.beta1 spec/lib/liquid-rails/filters/asset_tag_filter_spec.rb
liquid-rails-0.1.4 spec/lib/liquid-rails/filters/asset_tag_filter_spec.rb