Commit a93d7dae authored by Sean Arnold's avatar Sean Arnold

Tweak some spec styling

parent 6d3476eb
......@@ -9,10 +9,10 @@ RSpec.describe Resolvers::IssueStatusCountsResolver do
let_it_be(:current_user) { create(:user) }
let_it_be(:group) { create(:group) }
let_it_be(:project) { create(:project, group: group) }
let_it_be(:issue) { create(:issue, project: project, state: :opened, created_at: 3.hours.ago, updated_at: 3.hours.ago) }
let_it_be(:issue) { create(:issue, project: project, state: :opened, created_at: 3.hours.ago, updated_at: 3.hours.ago) }
let_it_be(:incident) { create(:incident, project: project, state: :closed, created_at: 1.hour.ago, updated_at: 1.hour.ago, closed_at: 1.hour.ago) }
# These issues should not be counted by counts, as they are from other projects
# This issue should not be included in the counts
let_it_be(:other_project) { create(:project) }
let_it_be(:other_proj_issue) { create(:issue, state: :opened, project: other_project) }
......
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