Sha256: 01c87e150438e3c0d25340e693370bef98343224bd2853e0bb83e0c77225afba

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

require "spec_helper"
require "middleman-core"

RSpec.describe Middleman::CachingProxy do
  before do
    allow(Middleman::Extensions).to receive(:register)
  end

  it "registers the extension" do
    require "middleman/caching_proxy"
    expect(Middleman::Extensions).
      to have_received(:register).with(
           :caching_proxy, Middleman::CachingProxy::Extension
         )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-caching-proxy-0.1.4 spec/middleman/caching_proxy_spec.rb