Replace usage of name in favor of displayname

This commit is contained in:
Sebastian Serth
2018-12-13 13:11:32 +01:00
parent b4b9ab48d0
commit 88081bb541
9 changed files with 13 additions and 30 deletions

View File

@ -38,8 +38,8 @@ describe 'Authentication' do
visit(root_path)
end
it "displays the user's name" do
expect(page).to have_content(user.name)
it "displays the user's displayname" do
expect(page).to have_content(user.displayname)
end
it 'displays a sign out link' do