Commit c0948396 authored by James Lopez's avatar James Lopez

fix rubocop warning

parent af18cddd
......@@ -220,13 +220,13 @@ describe Issue, "Issuable" do
it 'finds issue with 1 label' do
setup_labels([example_label])
expect(Issue.with_label(example_label).count).to eq(1)
expect(Issue.with_label(example_label).size).to eq(1)
end
it 'finds issue with 2 labels' do
setup_labels(example_labels)
expect(Issue.with_label(example_labels).to_a.count).to eq(1)
expect(Issue.with_label(example_labels).to_a.size).to eq(1)
end
def setup_labels(label_names)
......
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