From 63389f41b7e1d1dbfc236005f5dd0369fcc8deca Mon Sep 17 00:00:00 2001 From: Michael Andrews Date: Tue, 23 May 2017 14:53:15 -0700 Subject: [PATCH] Fix spec expectation when USE_GRAPHVIZ_DOT is defined --- spec/helpers/dot_helper_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/helpers/dot_helper_spec.rb b/spec/helpers/dot_helper_spec.rb index 5d168f66f5..3542e31c14 100644 --- a/spec/helpers/dot_helper_spec.rb +++ b/spec/helpers/dot_helper_spec.rb @@ -82,6 +82,7 @@ def check expect(agents_dot(@agents, rich: true)).to match(%r{ \A digraph \x20 "Agent \x20 Event \x20 Flow" \{ + (graph \[ [^\]]+ \];)? node \[ [^\]]+ \]; edge \[ [^\]]+ \]; (?\w+) \[label=foo,tooltip="Dot \x20 Foo",URL="#{Regexp.quote(agent_path(@foo))}"\];