[#4604] Simplify the cost caching system
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user