mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 18:11:11 +08:00
FIX: use PostDestroyer when deleting/recovering a topic
This commit is contained in:
@ -36,6 +36,12 @@ shared_examples 'finding and showing post' do
|
||||
xhr :get, action, params
|
||||
response.should be_success
|
||||
end
|
||||
|
||||
it "can find posts as a admin" do
|
||||
log_in(:admin)
|
||||
xhr :get, action, params
|
||||
response.should be_success
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user