diff options
Diffstat (limited to 'spec/helpers/tab_helper_spec.rb')
-rw-r--r-- | spec/helpers/tab_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/tab_helper_spec.rb b/spec/helpers/tab_helper_spec.rb index dd5707e2aff..80a1224abbb 100644 --- a/spec/helpers/tab_helper_spec.rb +++ b/spec/helpers/tab_helper_spec.rb @@ -182,7 +182,7 @@ RSpec.describe TabHelper do context 'with data attributes' do it 'creates a tab counter badge with the data attributes' do expect(helper.gl_tab_counter_badge(1, { data: { some_attribute: 'foo' } })).to eq( - '<span data-some-attribute="foo" class="gl-badge badge badge-pill badge-muted sm gl-tab-counter-badge">1</span>' + '<span class="gl-badge badge badge-pill badge-muted sm gl-tab-counter-badge" data-some-attribute="foo">1</span>' ) end end |