eyes_selenium 2.25.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db2b483ceb8dbf5623758ef582edc9eede7ee135
4
- data.tar.gz: 3f106dd7e3efd007519a8ee465f568399220d779
3
+ metadata.gz: bc336145cdef7b30addf33f7c4f6dee87a9848a5
4
+ data.tar.gz: 6e67c615a5a95dec663d325aa0ff940a7adf2404
5
5
  SHA512:
6
- metadata.gz: d8aacca0c4a7c693e0ef9269a98609fc9149dcc365d65f0629ebdf1fbd7c8b330fcdb243532c88a847ab9dc75d93d5a39f7f8e8f833bc8924474e7c08cf47a1d
7
- data.tar.gz: 4ffbbe9b5359af10cddfdfcda95caff4a646bdcd29b862608559f579b7f182c6a90c6c6097199d5b708259a42fd3b0f7084eda069ceded808d45d24e44a3ca97
6
+ metadata.gz: 84b810da238bc26c21e4243a20da8dc74939b1c654ce07866d1249f5dd664fbef4a6635902ec8f6462bb9cfa92089eb4d7344d6532d4ab04e143d0070183019a
7
+ data.tar.gz: 79914dc38cbd922a1ece782e96c1610922771a9a476a237be35087b6d5950eb49f74cf5fbbe199aa14e3d3fd338779486e95f085f17129f49f58724889a3e6bf
@@ -145,7 +145,13 @@ class Applitools::Eyes
145
145
 
146
146
  @user_inputs = []
147
147
  @app_name = options.fetch(:app_name)
148
+ if @app_name.nil? || @app_name.empty?
149
+ raise Applitools::EyesError.new('App name must be a non empty string.')
150
+ end
148
151
  @test_name = options.fetch(:test_name)
152
+ if @test_name.nil? || @test_name.empty?
153
+ raise Applitools::EyesError.new('Test name must be a non empty string.')
154
+ end
149
155
  @viewport_size = options.fetch(:viewport_size, nil)
150
156
 
151
157
  @is_open = true
@@ -1,3 +1,3 @@
1
1
  module Applitools
2
- VERSION = '2.25.0'.freeze
2
+ VERSION = '2.26.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.25.0
4
+ version: 2.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-02 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver