mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
introduce Enum
This commit is contained in:
@ -24,7 +24,7 @@ describe Admin::FlagsController do
|
||||
p = Fabricate(:post)
|
||||
u = Fabricate(:user)
|
||||
|
||||
PostAction.act(u, p, PostActionType.Types[:spam])
|
||||
PostAction.act(u, p, PostActionType.types[:spam])
|
||||
xhr :get, :index
|
||||
|
||||
data = ::JSON.parse(response.body)
|
||||
|
Reference in New Issue
Block a user