bddfire 1.5.3 → 1.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGUzOGIwMGRjYzRjYmZlYjJhN2EwZDI0MjdhZGViZjJhZDk2ODhlMw==
4
+ MDliYjM3OTg3NDNjYTNkYWQ3YjE4MTg5M2UxYjkzODU3OTY4M2QwYQ==
5
5
  data.tar.gz: !binary |-
6
- YTg4ZDU1MzVlYWMyZDJkYWMwOTg0MWJhYmMyNzk1MzU1NDFkZjkxMA==
6
+ MDhhNThhNDg2NjczYjc4MGRlNDQxNmM5NzNjNzQ4NzdiNDllMzMwNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDgxNTQyMTk5MWZjNWFjZTc3ZTA1MmZmOGVjZWIyNzIzNGM1MzEzMWI5ODc4
10
- MmYzYjE3M2UwZWUwYzcxMWI1OTAwOWEzMWJjYzQ2NWM5YTk4YmM1MWE2ODI2
11
- ODdlOTEyNzk5ZWRiZGMwNTJlNWRhZTRhZjA1ZWJkM2ZjYzEzZTM=
9
+ MzZkM2NiN2ZmYzVkNDYxOTNjMGE2YmUxMjVmN2U2OWFjNzhmMGFkOTdkYzYz
10
+ NWU5YTUxYTU0ODBhZTE0M2I3MGE2ZGQzYjBhYTM5NDIzZDAzOTMwMzlmNzg4
11
+ MmY5M2EzMmRjOTdkZWZkNzc5NDU4Yzg2Mzk2ZTBlN2I0NmZhOTY=
12
12
  data.tar.gz: !binary |-
13
- NzRkNWRkYjVkYTYxNGFkOGIxNzY5Y2U1OTQ1NzVhMjZkMzRhZDk2OTNmYmJh
14
- YjA1NjFkYjdiZDY0YzM4M2Y4Mzk5NTRjYmY4YTg1YmExM2RmMzgzMGE2MzNj
15
- YWNlNTgxY2FlZDYwMGRiYTcyNmMxYmVjZmU0Y2ZhNDJkZDMxYWM=
13
+ YWY5OTYyYzUyOTFjOGI4NTU0NTJmOTRmY2UzZGRiNDJkYzU2ZDYxNmExM2Uy
14
+ ZDVkMTY5MDc3YmIxYzhjY2IyMTVjZDYwODYzZGY5Njg0ZWQ4YWExYmUxYzll
15
+ N2YwMmQ1YzhkYjBmNTVjODk0ZTMzZWNmY2YzOGVjMmFmY2FiYTg=
@@ -1,3 +1,3 @@
1
1
  module BDDfire
2
- VERSION = "1.5.3"
2
+ VERSION = "1.5.4"
3
3
  end
@@ -7,8 +7,21 @@ require 'selenium-webdriver'
7
7
  require 'rubocop'
8
8
  require 'bddfire'
9
9
 
10
+ Capybara.configure do |config|
10
11
 
11
- Capybara.default_driver = :selenium
12
+ config.run_server = false
13
+ config.default_driver = (ENV['DRIVER'] || 'selenium').to_sym
14
+ config.javascript_driver = config.default_driver
15
+ config.default_selector = :xpath
16
+ config.default_wait_time = 60
17
+ end
18
+
19
+
20
+ Capybara.register_driver :selenium do |app|
21
+
22
+ profile = Selenium::WebDriver::Firefox::Profile.new
23
+ Capybara::Selenium::Driver.new(app, :profile => profile)
24
+ end
12
25
 
13
26
  Capybara.register_driver :poltergeist do |app|
14
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bddfire
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shashikant Jagtap
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-20 00:00:00.000000000 Z
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor