[#4604] Simplify the cost caching system

This commit is contained in:
Eric Davis
2010-10-13 16:54:48 -07:00
parent 5200eacd36
commit 4e705fd1eb
2 changed files with 10 additions and 15 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ class RateTimeEntryPatchTest < ActiveSupport::TestCase
context "with a cache" do
setup do
@time_entry.cache_cost
@time_entry.update_attribute(:cost, 2000.0)
@time_entry.reload
end
should "return the cached cost" do