mirror of
https://github.com/discourse/discourse.git
synced 2025-03-28 22:27:06 +08:00
Update spec/components/concern/has_custom_fields_spec.rb
Co-authored-by: Régis Hanol <regis@hanol.fr>
This commit is contained in:
parent
7e5290203f
commit
2100de449e
@ -354,7 +354,7 @@ describe HasCustomFields do
|
|||||||
expect(test_item.custom_fields[:bob]).to eq('marley')
|
expect(test_item.custom_fields[:bob]).to eq('marley')
|
||||||
expect(test_item.custom_fields[:jack]).to eq('black')
|
expect(test_item.custom_fields[:jack]).to eq('black')
|
||||||
|
|
||||||
## Update via string index again
|
# Update via string index again
|
||||||
test_item.custom_fields['bob'] = 'the builder'
|
test_item.custom_fields['bob'] = 'the builder'
|
||||||
|
|
||||||
expect(test_item.custom_fields[:bob]).to eq('the builder')
|
expect(test_item.custom_fields[:bob]).to eq('the builder')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user