mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Remove update, should fix issue with broken specs
This commit is contained in:
parent
9f2b48014c
commit
5e6764e9c9
1 changed files with 1 additions and 6 deletions
|
@ -3,18 +3,13 @@ require 'topic_view'
|
|||
|
||||
describe TopicQuery do
|
||||
|
||||
let(:user) { Fabricate(:coding_horror) }
|
||||
let!(:user) { Fabricate(:coding_horror) }
|
||||
let(:creator) { Fabricate(:user) }
|
||||
let(:topic_query) { TopicQuery.new(user) }
|
||||
|
||||
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
|
||||
category = Fabricate(:category)
|
||||
|
|
Loading…
Reference in a new issue