Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Fix random failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
floriandejonckheere committed May 12, 2021
1 parent eed7718 commit c314871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/graph/renderer_spec.rb
Expand Up @@ -6,7 +6,7 @@
let(:project) { create(:project) }

let!(:task0) { create(:task, graph: project.graph, type: "epic") }
let!(:task1) { create(:task, graph: project.graph) }
let!(:task1) { create(:task, graph: project.graph, type: "task") }

before { create(:edge, graph: project.graph, from: task0, type: "related_to", to: task1) }

Expand All @@ -24,7 +24,7 @@
it "returns a list of edges" do
expect(renderer.to_h.fetch(:edges))
.to match_array [
including(source: 1, target: 0, label: "Related To"),
including(source: 0, target: 1, label: "Related To"),
]
end
end
Expand Down

0 comments on commit c314871

Please sign in to comment.