forked from e621ng/e621ng
[Tests] Remove a rails bug workaround
Fixed sometime in the last 5 years
This commit is contained in:
parent
0bed93d8b6
commit
9f796049a3
@ -149,12 +149,7 @@ class BulkUpdateRequestTest < ActiveSupport::TestCase
|
||||
@req.forum_updater.stubs(:update).raises(RuntimeError.new("blah"))
|
||||
assert_raises(RuntimeError) { @req.approve!(@admin) }
|
||||
|
||||
# XXX Raises "Couldn't find BulkUpdateRequest without an ID". Possible
|
||||
# rails bug? (cf rails #34637, #34504, #30167, #15018).
|
||||
# @req.reload
|
||||
|
||||
@req = BulkUpdateRequest.find(@req.id)
|
||||
assert_equal("pending", @req.status)
|
||||
assert_equal("pending", @req.reload.status)
|
||||
end
|
||||
|
||||
should "downcase the text" do
|
||||
|
Loading…
Reference in New Issue
Block a user