summaryrefslogtreecommitdiff
path: root/spec/helpers/dropdowns_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/dropdowns_helper_spec.rb')
-rw-r--r--spec/helpers/dropdowns_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/dropdowns_helper_spec.rb b/spec/helpers/dropdowns_helper_spec.rb
index fd1125d0024..c30cb159803 100644
--- a/spec/helpers/dropdowns_helper_spec.rb
+++ b/spec/helpers/dropdowns_helper_spec.rb
@@ -246,8 +246,8 @@ RSpec.describe DropdownsHelper do
expect(content).to include('dropdown-loading')
end
- it 'returns an icon in the content' do
- expect(content.scan('icon').count).to eq(1)
+ it 'returns a gl-spinner in the content' do
+ expect(content).to include('gl-spinner')
end
end
end