Sha256: 0b06a9a9c43f4b96c347c1868a492cb955ae24f947521ca1f0eab3308dbead9e

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

require 'test_helper'

class ViewTest < ActiveSupport::TestCase

  setup :set_instance

  test "should have not_found method" do
    assert @instance.respond_to?(:increment_cache_namespace)
  end

  protected

  def set_instance
    @instance = ActionController::Caching::Sweeper.instance
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_contrib-0.0.4 test/sweeper_test.rb
rails_contrib-0.0.3 test/sweeper_test.rb