Sha256: 6d5a1905fdaf428eed9041e0b532c9a0cec8ed2f873e723866eae1c004f556a4

Contents?: true

Size: 291 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-assets-0.3.2 spec/lib/jekyll/assets_plugin/asset_file_spec.rb
jekyll-assets-0.3.1 spec/lib/jekyll/assets_plugin/asset_file_spec.rb