cuculungwa 0.0.64 → 0.0.65
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cuculungwa.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 965e640d3cb73365c51a1c66345362d7cc075b0c
|
4
|
+
data.tar.gz: 3b8a4adbdfb95b7289502c8de4fbe8db16a1bd47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3a36d3f63f11ecb36c14ade40db32852734f436ad2b9a0a63e813aa22aef54f01eb0097058fc6837663d7600eba24b40d41787101d47b06fd8ddc572c600eea
|
7
|
+
data.tar.gz: 9fde558cd0dcf0bd8d7951ce3c6b47d3641bb7ff4a8ddcd88f0f46219ecb9eb116c4e018ed3c8a30ee3cfe095059591d98e10cec53d52e2656df51303bc7e8ce
|
data/lib/cuculungwa.rb
CHANGED
@@ -56,6 +56,12 @@ end
|
|
56
56
|
Capybara.save_and_open_page_path = config['capybara']['save_and_open_page_path']
|
57
57
|
Capybara.app_host = config['project']['default_host']['front']
|
58
58
|
Capybara.default_wait_time = config['capybara']['default_wait_time']
|
59
|
+
|
60
|
+
#Quick finish after first fail
|
61
|
+
After do |scenario|
|
62
|
+
Cucumber.wants_to_quit = ENV['FAIL_FAST']=='true' && scenario.failed?
|
63
|
+
end
|
64
|
+
|
59
65
|
World(Capybara)
|
60
66
|
|
61
67
|
def override_method(obj, method_name, &block)
|