eyes_selenium 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -124,7 +124,7 @@ class Applitools::Eyes
124
124
  def test(params={}, &block)
125
125
  begin
126
126
  open(params)
127
- yield(self, driver)
127
+ yield(driver)
128
128
  close
129
129
  rescue Applitools::EyesError
130
130
  ensure
@@ -1,3 +1,3 @@
1
1
  module Applitools
2
- VERSION = "1.7.0"
2
+ VERSION = "1.8.0"
3
3
  end
data/test_script.rb CHANGED
@@ -7,7 +7,7 @@ require 'eyes_selenium'
7
7
  Applitools::Eyes.config[:apikey] = 'YOUR_API_KEY'
8
8
 
9
9
  eyes = Applitools::Eyes.new
10
- eyes.test(app_name: 'Ruby SDK', test_name: 'Applitools website test') do |eyes, driver|
10
+ eyes.test(app_name: 'Ruby SDK', test_name: 'Applitools website test') do |driver|
11
11
  driver.get "http://www.applitools.com"
12
12
  eyes.check_window("initial")
13
13
  driver.find_element(:css, "li.pricing a").click
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-03 00:00:00.000000000 Z
12
+ date: 2013-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: selenium-webdriver
@@ -202,7 +202,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
202
  version: '0'
203
203
  segments:
204
204
  - 0
205
- hash: -1833114255921189206
205
+ hash: -1360008962841174874
206
206
  required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  none: false
208
208
  requirements:
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  segments:
213
213
  - 0
214
- hash: -1833114255921189206
214
+ hash: -1360008962841174874
215
215
  requirements: []
216
216
  rubyforge_project:
217
217
  rubygems_version: 1.8.25