Skip to content

Commit

Permalink
Fix 2 rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwiedemann committed Sep 25, 2023
1 parent b3c5edc commit 5dfd5ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/spec/components/avatar_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

it 'displays avatar without circle' do
expect(rendered_content).not_to have_selector('img.rounded-circle', count: 1)
expect(rendered_content).not_to have_css('img.rounded-circle', count: 1)
end
end

Expand All @@ -28,7 +28,7 @@
end

it 'displays avatar inside a circle' do
expect(rendered_content).to have_selector('img.rounded-circle', count: 1)
expect(rendered_content).to have_css('img.rounded-circle', count: 1)
end
end
end

0 comments on commit 5dfd5ed

Please sign in to comment.