turnip 3.0.0.pre.beta.2 → 3.0.0.pre.beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/turnip/node/tag.rb +7 -0
- data/lib/turnip/version.rb +1 -1
- data/spec/builder_spec.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c613eb80a564f1b10b6123c92df954d646bb1a1
|
4
|
+
data.tar.gz: ea620f1c46a0c0bee233d1870d01be796abad6d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 988878afccf0d2f4b16d232b874e537ae1cb1f121a73f57f2ba0b269bdee753b22975baf629e49763d55fe6fb8c9c72210240fa7167eba8081c919ec52c0ec0a
|
7
|
+
data.tar.gz: 0881c5e09f167002c3410cd1441803d5380f9ef4f3596fd39c527be32ccb94137cb87ad1c66228ae037e37c38e45b6f0a7855ee440748cda7451bde9443255aa
|
data/lib/turnip/node/tag.rb
CHANGED
data/lib/turnip/version.rb
CHANGED
data/spec/builder_spec.rb
CHANGED
@@ -33,6 +33,16 @@ describe Turnip::Builder do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
context 'with tags' do
|
37
|
+
let(:feature_file) { File.expand_path('../examples/tags.feature', File.dirname(__FILE__)) }
|
38
|
+
|
39
|
+
it 'extracts tags' do
|
40
|
+
expect(feature.tags[0]).to be_instance_of Turnip::Node::Tag
|
41
|
+
expect(feature.scenarios[0].tags[0].name).to eq 'cool'
|
42
|
+
expect(feature.scenarios[1].tag_names).to eq ['stealthy', 'wicked']
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
36
46
|
context "with scenario outlines" do
|
37
47
|
let(:feature_file) { File.expand_path('../examples/scenario_outline.feature', File.dirname(__FILE__)) }
|
38
48
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turnip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.pre.beta.
|
4
|
+
version: 3.0.0.pre.beta.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Nicklas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|