cuculungwa 0.0.64 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cuculungwa.rb +6 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35bc042a3c993a39f1c6854c7cc564e14872d8d3
4
- data.tar.gz: 623d9feca21382e4805740cd2430d8a8c3105eb4
3
+ metadata.gz: 965e640d3cb73365c51a1c66345362d7cc075b0c
4
+ data.tar.gz: 3b8a4adbdfb95b7289502c8de4fbe8db16a1bd47
5
5
  SHA512:
6
- metadata.gz: 13ffe1fa51db9d4ba8bac17000c693db5e60d227ad6e71162af33409e329e9bf0443914d4506fc3b6a8881c18211f7737fbb250a02b4770895f2bedde787128e
7
- data.tar.gz: ea77a228934526df3d8ae46fc13d24c1f21a1c128cde5c86e8bec960078176a969a8da53115aa414a1139e80315a0456200dc47446c9ee815988e888d9fec101
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuculungwa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.64
4
+ version: 0.0.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Kaftanski