Sha256: 16d6dadc555bd80959e06e29c4c32d4255ceaed827079db5ba0cd3bb0ae4fdf2

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

require "spec_helper"

describe ApplicationController do
  controller do
    def index
      head 200
    end
  end

  it "clears cache before each request", classic: true do
    expect(Chanko::Loader.cache).to receive(:clear).exactly(2)
    get :index
    get :index
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chanko-2.3.0 spec/controllers/application_controller_spec.rb