features/smcat.feature in jekyll-diagrams-0.9.2 vs features/smcat.feature in jekyll-diagrams-0.9.3
- old
+ new
@@ -1,29 +1,24 @@
Feature: SMCat
- Scenario: Default configuration
+ Background: I have a file with SMCat
Given I have a file 'smcat.md' with content:
"""
---
---
{% smcat %}
- initial,
- "tape player off",
- "tape player on" {
- stopped => playing : play;
- playing => stopped : stop;
- playing => paused : pause;
- paused => playing : pause;
- paused => stopped : stop;
- };
-
- initial => "tape player off";
- "tape player off" => stopped : power;
- "tape player on" => "tape player off" : power;
+ initial => smcat;
{% endsmcat %}
"""
+
+ Scenario: Basic Rendering
When I run jekyll build
Then the file '_site/smcat.html' should exist
- And I should see 'diagrams smcat' in '_site/smcat.html'
And I should see svg output in '_site/smcat.html'
+
+ Scenario: Remove XML Heading
+ When I run jekyll build
+ Then the file '_site/smcat.html' should exist
+ And I should not see '<\?xml' in '_site/smcat.html'
+ And I should not see '<!DOCTYPE' in '_site/smcat.html'