mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
Change admin display-row css so that multiple lines can fit in the control column. Don't hard-code a height on the rows.
This commit is contained in:
@ -117,7 +117,7 @@ describe StaffActionLogger do
|
||||
end
|
||||
|
||||
describe "log_user_suspend" do
|
||||
let(:user) { Fabricate(:user) }
|
||||
let(:user) { Fabricate(:user, suspended_at: 10.minutes.ago, suspended_till: 1.day.from_now) }
|
||||
|
||||
it "raises an error when arguments are missing" do
|
||||
expect { logger.log_user_suspend(nil, nil) }.to raise_error(Discourse::InvalidParameters)
|
||||
|
Reference in New Issue
Block a user