Sha256: b1a6b4bf42f7e65565f2f788ca3759b1fa16e693be832cf5750867efe09f6cf9

Contents?: true

Size: 291 Bytes

Versions: 8

Compression:

Stored size: 291 Bytes

Contents

require 'spec_helper'


module Jekyll::AssetsPlugin
  describe AssetFile do
    context '#destination' do
      let(:file) { AssetFile.new(@site, @site.assets['app.css']) }
      subject { file.destination @dest.to_s }
      it { should match %r{/app-[0-9a-f]{32}\.css$} }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-assets-0.3.0 spec/lib/jekyll/assets_plugin/asset_file_spec.rb
jekyll-assets-0.2.3 spec/lib/jekyll/assets_plugin/asset_file_spec.rb
jekyll-assets-0.2.2 spec/lib/jekyll/assets_plugin/asset_file_spec.rb
jekyll-assets-0.2.1 spec/lib/jekyll/assets_plugin/asset_file_spec.rb
jekyll-assets-0.2.0 spec/lib/jekyll/assets_plugin/asset_file_spec.rb
jekyll-assets-0.1.2 spec/lib/jekyll/assets_plugin/asset_file_spec.rb
jekyll-assets-0.1.1 spec/lib/jekyll/assets_plugin/asset_file_spec.rb
jekyll-assets-0.1.0 spec/lib/jekyll/assets_plugin/asset_file_spec.rb