Sha256: 89f9e0f895983548ad7098332100a6e1e04ce05329102d842bbed6ae58fcc92a
Contents?: true
Size: 344 Bytes
Versions: 11
Compression:
Stored size: 344 Bytes
Contents
require "test_helper" class IdentityCacheTest < IdentityCache::TestCase class BadModel < ActiveRecord::Base end def test_identity_cache_raises_if_loaded_twice assert_raises(IdentityCache::AlreadyIncludedError) do BadModel.class_eval do include IdentityCache include IdentityCache end end end end
Version data entries
11 entries across 11 versions & 1 rubygems