mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
Removed unused let blocks (#7446)
The bodies of these blocks were never evaluated.
This commit is contained in:

committed by
Guo Xiang Tan

parent
17b34f5744
commit
ad44243a57
@ -31,12 +31,6 @@ describe BasicGroupSerializer do
|
||||
end
|
||||
|
||||
describe 'group owner' do
|
||||
let(:user) do
|
||||
user = Fabricate(:user)
|
||||
group.add_owner(user)
|
||||
user
|
||||
end
|
||||
|
||||
it 'should include bio_raw' do
|
||||
expect(subject.as_json[:bio_raw]).to eq('testing')
|
||||
end
|
||||
|
Reference in New Issue
Block a user