Sha256: 98d81180bba28498768fe57677f9ed4a56221c30e1fdb5a7ba54f6fd4e118256
Contents?: true
Size: 334 Bytes
Versions: 9
Compression:
Stored size: 334 Bytes
Contents
require File.expand_path("helper", File.dirname(__FILE__)) class ReloadTest < ActiveSupport::TestCase context "Reloading a model" do setup do @post = Post.first assert @post assert @post.title end should "clear local cache" do Kasket.expects(:clear_local) @post.reload end end end
Version data entries
9 entries across 9 versions & 1 rubygems