Skip to content

Commit 4f2a083

Browse files
committed
Merge pull request #58 from simonc/feature-and-scenario
Adding feature and scenario snippets
2 parents 711bf26 + 1bb5225 commit 4f2a083

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

Snippets/feature.tmSnippet

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>content</key>
6+
<string>feature "${1:feature name}" do
7+
$0
8+
end</string>
9+
<key>name</key>
10+
<string>feature</string>
11+
<key>scope</key>
12+
<string>source.ruby.rspec</string>
13+
<key>tabTrigger</key>
14+
<string>feat</string>
15+
<key>uuid</key>
16+
<string>313B327A-DE0D-47F6-8585-6DEC912F9683</string>
17+
</dict>
18+
</plist>

Snippets/scenario.tmSnippet

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>content</key>
6+
<string>scenario "${1:scenario description}" do
7+
$0
8+
end</string>
9+
<key>name</key>
10+
<string>feature</string>
11+
<key>scope</key>
12+
<string>source.ruby.rspec</string>
13+
<key>tabTrigger</key>
14+
<string>sce</string>
15+
<key>uuid</key>
16+
<string>8F5D977F-AD4B-45A5-B6B9-72FEBCBB36B2</string>
17+
</dict>
18+
</plist>

0 commit comments

Comments
 (0)