👋 update_attributes
You served us well...
This commit is contained in:
parent
ca80b753e7
commit
85dae98a76
46 changed files with 109 additions and 109 deletions
|
|
@ -18,7 +18,7 @@ describe SpeakerSerializer, type: :serializer do
|
|||
end
|
||||
|
||||
context 'speaker has biography' do
|
||||
before{ speaker.update_attributes(biography: 'Doest of all Jon Does') }
|
||||
before{ speaker.update_attribute(:biography, 'Doest of all Jon Does') }
|
||||
|
||||
it 'sets name, affiliation and biography' do
|
||||
expected_json = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue