lopata 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lopata/scenario.rb +8 -1
- data/lib/lopata/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1155fd7582bb7ca2639810d0339f61499124cfb92d10f181adf728f88b5cc738
|
4
|
+
data.tar.gz: c447507475f7310be478205d0dda7e331dfe26e037ba7676035b105fa6c09a62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 363d77e825eda675203f046a0c844612d6e40c2324e8715ce3f690a33b0f3d1733a6831998d5cdbda7add08937f1f69d71fc40bd7abf7ece43405cd90ee7f62c
|
7
|
+
data.tar.gz: 1ea19098de32d259087cc480c0e18722655606feb39a0368a40cda5ed888d87ae5bbfcb616050c3f8cb4d79cdb0a8a02a14a56a259f150f2bfeebc257f335176
|
data/lib/lopata/scenario.rb
CHANGED
@@ -49,7 +49,7 @@ class Lopata::Scenario
|
|
49
49
|
steps_in_running_order.each(&method(:run_step))
|
50
50
|
@status = steps.any?(&:failed?) ? :failed : :passed
|
51
51
|
world.notify_observers(:scenario_finished, self)
|
52
|
-
|
52
|
+
cleanup
|
53
53
|
end
|
54
54
|
|
55
55
|
def run_step(step)
|
@@ -82,5 +82,12 @@ class Lopata::Scenario
|
|
82
82
|
@metadata
|
83
83
|
end
|
84
84
|
end
|
85
|
+
|
86
|
+
def cleanup
|
87
|
+
@title = nil
|
88
|
+
@metadata = nil
|
89
|
+
@steps = nil
|
90
|
+
@scenario = nil
|
91
|
+
end
|
85
92
|
end
|
86
93
|
end
|
data/lib/lopata/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lopata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Volochnev
|
@@ -139,5 +139,5 @@ requirements: []
|
|
139
139
|
rubygems_version: 3.0.3
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
|
-
summary: lopata-0.1.
|
142
|
+
summary: lopata-0.1.4
|
143
143
|
test_files: []
|