Commit 40bc96c9 authored by James Lopez's avatar James Lopez

fix typo [ci skip]

parent 0c4c5408
...@@ -2,7 +2,7 @@ require 'spec_helper' ...@@ -2,7 +2,7 @@ require 'spec_helper'
describe Gitlab::CycleAnalytics::EventsQuery do describe Gitlab::CycleAnalytics::EventsQuery do
let(:max_events) { 3 } let(:max_events) { 3 }
let(:project) { create(:project) } let(:project) { create(:empty_project) }
let(:user) { create(:user, :admin) } let(:user) { create(:user, :admin) }
let(:options) { { from: 30.days.ago } } let(:options) { { from: 30.days.ago } }
...@@ -19,7 +19,7 @@ describe Gitlab::CycleAnalytics::EventsQuery do ...@@ -19,7 +19,7 @@ describe Gitlab::CycleAnalytics::EventsQuery do
setup_events(count: 5) setup_events(count: 5)
end end
it 'limits the rows the max number' do it 'limits the rows to the max number' do
expect(subject.count).to eq(max_events) expect(subject.count).to eq(max_events)
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