Use name/title instead of ID for associated object when showing changes
This commit is contained in:
parent
c7b8418f1a
commit
b982d18bbb
4 changed files with 34 additions and 6 deletions
|
|
@ -58,6 +58,7 @@ feature 'Version' do
|
|||
new_conference.update_attributes(title: 'New Con', short_title: 'NewCon')
|
||||
|
||||
visit admin_revision_history_path
|
||||
select '100', from: 'versionstable_length'
|
||||
expect(page).to have_text('Someone (probably via the console) created new conference New Con')
|
||||
expect(page).to have_text('Someone (probably via the console) created new event type Talk in conference NewCon')
|
||||
expect(page).to have_text('Someone (probably via the console) created new event type Workshop in conference NewCon')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue