mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Promotion fails if the user account isn't old enough yet.
This commit is contained in:
@@ -187,7 +187,7 @@ describe Admin::UsersController do
|
||||
|
||||
context '.trust_level' do
|
||||
before do
|
||||
@another_user = Fabricate(:coding_horror)
|
||||
@another_user = Fabricate(:coding_horror, created_at: 1.month.ago)
|
||||
end
|
||||
|
||||
it "raises an error when the user doesn't have permission" do
|
||||
|
||||
Reference in New Issue
Block a user