mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
DEV: Apply syntax_tree formatting to spec/*
This commit is contained in:
@ -32,9 +32,7 @@ shared_examples "basic reviewable attributes" do
|
||||
|
||||
describe "#flagger_username" do
|
||||
it "equals to the username of the user who created the reviewable" do
|
||||
reviewable.update!(
|
||||
created_by: Fabricate(:user, username: "gg.osama")
|
||||
)
|
||||
reviewable.update!(created_by: Fabricate(:user, username: "gg.osama"))
|
||||
expect(subject[:flagger_username]).to eq("gg.osama")
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user