diff options
Diffstat (limited to 'spec/features/breadcrumbs_schema_markup_spec.rb')
-rw-r--r-- | spec/features/breadcrumbs_schema_markup_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/breadcrumbs_schema_markup_spec.rb b/spec/features/breadcrumbs_schema_markup_spec.rb index a87a3d284de..f86ad5cd2ae 100644 --- a/spec/features/breadcrumbs_schema_markup_spec.rb +++ b/spec/features/breadcrumbs_schema_markup_spec.rb @@ -17,7 +17,7 @@ RSpec.describe 'Breadcrumbs schema markup', :aggregate_failures do expect(item_list.size).to eq 2 expect(item_list[0]['name']).to eq project.namespace.name - expect(item_list[0]['item']).to eq user_url(project.owner) + expect(item_list[0]['item']).to eq user_url(project.first_owner) expect(item_list[1]['name']).to eq project.name expect(item_list[1]['item']).to eq project_url(project) @@ -59,7 +59,7 @@ RSpec.describe 'Breadcrumbs schema markup', :aggregate_failures do expect(item_list.size).to eq 3 expect(item_list[0]['name']).to eq project.namespace.name - expect(item_list[0]['item']).to eq user_url(project.owner) + expect(item_list[0]['item']).to eq user_url(project.first_owner) expect(item_list[1]['name']).to eq project.name expect(item_list[1]['item']).to eq project_url(project) @@ -75,7 +75,7 @@ RSpec.describe 'Breadcrumbs schema markup', :aggregate_failures do expect(item_list.size).to eq 4 expect(item_list[0]['name']).to eq project.namespace.name - expect(item_list[0]['item']).to eq user_url(project.owner) + expect(item_list[0]['item']).to eq user_url(project.first_owner) expect(item_list[1]['name']).to eq project.name expect(item_list[1]['item']).to eq project_url(project) |