mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 13:51:09 +08:00
DEV: Use describe
for methods in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
f1c3670d74
commit
296aad430a
@ -10,7 +10,7 @@ describe UserStat do
|
||||
expect(user.user_stat.new_since).to be_present
|
||||
end
|
||||
|
||||
context '#update_view_counts' do
|
||||
describe '#update_view_counts' do
|
||||
|
||||
let(:user) { Fabricate(:user) }
|
||||
let(:stat) { user.user_stat }
|
||||
|
Reference in New Issue
Block a user