Commit a93ec52e authored by sstern's avatar sstern

Remove FF from issue_weight_spec.rb

parent 629c7f77
......@@ -293,6 +293,7 @@ export default {
v-gl-tooltip
:title="__('Weight')"
class="d-none d-sm-inline-block js-weight"
data-testid="weight"
>
<icon name="weight" class="align-text-bottom" />
{{ issuable.weight }}
......
......@@ -5,17 +5,13 @@ require 'spec_helper'
RSpec.describe 'Issue weight', :js do
let(:project) { create(:project, :public) }
before do
stub_feature_flags(vue_issuables_list: false)
end
it 'shows weight on issue list row' do
create(:issue, project: project, weight: 2)
visit project_issues_path(project)
page.within(first('.issuable-info')) do
expect(page).to have_selector('.issue-weight-icon')
expect(page).to have_selector('[data-testid="weight"]')
expect(page).to have_content(2)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment