Change source
attribute of Suggestion
entity in /api/v2/suggestions
back to a string (#29108)
This commit is contained in:
parent
1e0b0a3486
commit
7ee93b7431
6 changed files with 41 additions and 10 deletions
|
@ -7,7 +7,7 @@ describe REST::SuggestionSerializer do
|
|||
let(:record) do
|
||||
AccountSuggestions::Suggestion.new(
|
||||
account: account,
|
||||
source: 'SuggestionSource'
|
||||
sources: ['SuggestionSource']
|
||||
)
|
||||
end
|
||||
let(:account) { Fabricate(:account) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue