Skip to content

Commit

Permalink
Fix spec expectation when USE_GRAPHVIZ_DOT is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrews committed May 23, 2017
1 parent e74bb73 commit 63389f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/helpers/dot_helper_spec.rb
Expand Up @@ -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 \[ [^\]]+ \];
(?<foo>\w+) \[label=foo,tooltip="Dot \x20 Foo",URL="#{Regexp.quote(agent_path(@foo))}"\];
Expand Down

0 comments on commit 63389f4

Please sign in to comment.