burs/show: remove BUR update count estimate.
Remove the post update count estimate from BUR show pages. This was complex, slow, and usually inaccurate since it assumed that requests in a BUR had no overlap with each other, which usually wasn't the case.
This commit is contained in:
@@ -7,12 +7,6 @@ class TagBatchChangeJobTest < ActiveJob::TestCase
|
||||
@post = create(:post, :tag_string => "aaa")
|
||||
end
|
||||
|
||||
context "#estimate_update_count" do
|
||||
should "find the correct count" do
|
||||
assert_equal(1, TagBatchChangeJob.estimate_update_count("aaa", "bbb"))
|
||||
end
|
||||
end
|
||||
|
||||
should "execute" do
|
||||
TagBatchChangeJob.perform_now("aaa", "bbb", @user, "127.0.0.1")
|
||||
assert_equal("bbb", @post.reload.tag_string)
|
||||
|
||||
Reference in New Issue
Block a user