cuculungwa 0.0.42 → 0.0.43

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 +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a305566774da0a10dab57ede53112f7d56e367e2
4
- data.tar.gz: f516b4336e1c81d5a717604ab2a1a60c7fabbe4b
3
+ metadata.gz: 3b3ed555f53680327934d9ef2b0f755373f70c5d
4
+ data.tar.gz: e348e27981a8bec389fa4190aeac834893a80460
5
5
  SHA512:
6
- metadata.gz: 265ed89802b63c0aa8888350f421720436bbfd499ef1838bdbe42a57081713c8911071ca1c537f723d44e436e4f781b0fe50366c0351ad9b9e13393710c319dd
7
- data.tar.gz: 7d5c12d9b3a908e4997bad0c37626485b22a1da4d32d4d7d6deaa6df934f18229ded1e828dba233c90540e2c059b535fee66b09130e37add8fd404a94c32f757
6
+ metadata.gz: 9aa7d61ebac171e905ee5a482d4bc9bbfc1a13ca4a4116de751c18f0d805d7684e58527af116e31d47b9b1934027cac1806f718efa45f5b4b7b3d05c60bd53ec
7
+ data.tar.gz: 66b50088be34f8684f99f49178d8b9fd228e18ef26ad5ea299beafbd1ed5650e66297c9b064581c26cd2102c1c9be5d9a3256ac0783b32ca8921030ce4917f7a
data/lib/cuculungwa.rb CHANGED
@@ -41,13 +41,13 @@ elsif config['capybara']['browser']=='seleniumRC'
41
41
  require 'selenium-webdriver'
42
42
  client = Selenium::WebDriver::Remote::Http::Default.new
43
43
  client.timeout = ENV['CLIENT_TIMEOUT'] ? ENV['CLIENT_TIMEOUT'].to_i : 60
44
- capabilities = Selenium::WebDriver::Remote::Capabilities.internet_explorer
44
+ capabilities = Selenium::WebDriver::Remote::Capabilities.new
45
45
  capabilities[:introduce_flakiness_by_ignoring_security_domains] = true
46
46
  capabilities[:javascript_enabled] = true
47
47
  capabilities[:css_selectors_enabled] = true
48
48
  capabilities[:ignore_protected_mode_settings] = true
49
49
  Capybara.register_driver :selenium do |app|
50
- Capybara::Selenium::Driver.new(app, :browser => :remote, :url => "http://10.2.0.143:4444/wd/hub", :http_client => client, :desired_capabilities => capabilities)
50
+ Capybara::Selenium::Driver.new(app, :browser => :remote, :url => config['capybara']['seleniumRC_specific']['hub'], :http_client => client, :desired_capabilities => capabilities)
51
51
  end
52
52
  Capybara.default_driver = :selenium
53
53
  else
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.42
4
+ version: 0.0.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Kaftanski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-01-29 00:00:00.000000000 Z
13
+ date: 2014-02-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aruba