mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
BUGFIX: Fix ailing tests
This commit is contained in:
parent
4b61d6af28
commit
a2b0e2b50f
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ describe TopicQuery do
|
|||
let(:moderator) { Fabricate(:moderator) }
|
||||
let(:admin) { Fabricate(:admin) }
|
||||
|
||||
before do
|
||||
# We use a time in a the past to avoid conflicting dates in tests
|
||||
user.user_stat.update_column(:new_since, 1.minute.ago)
|
||||
end
|
||||
|
||||
context 'secure category' do
|
||||
it "filters categories out correctly" do
|
||||
|
|
Loading…
Reference in a new issue