testcentricity_web 2.0.13 → 2.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aec7592d71cdbcdfb4219ebbf143794875764611
4
- data.tar.gz: 502ded4e78118e682c8f3c7f51e72be52651fbae
3
+ metadata.gz: 523b1d2ca673c7114b6579548229ca29160ee3f1
4
+ data.tar.gz: 43b79c51ae36218dbd7241c3c0279a155fc20a30
5
5
  SHA512:
6
- metadata.gz: f909d3bd1a0850d88c73eecf5519f85736465e3afa990b4a4bd5f1ac8392a29402cc6f512ae7fae441a100f801e111634cf7e2a943801cc844f90ddd2bde384d
7
- data.tar.gz: c69b601e32fc446c6dd8ea96c3385eb21bad42fc63042785c63f72d5feae89f4f869c5eb9ab6882c325f58cc132796dfc4e518f9f8bcc041b8de5cb5c1091d22
6
+ metadata.gz: d6d20f7a081a3d5eab4ab4c019b7b4b48f1f875ec1071e521855caf45ff75e8eae9b1caf3ad1f03ccbcd83d5915df9ed37b312e9373944077bcf8f5768bf8181
7
+ data.tar.gz: f516097d1004984178857b641453970fab3e00c3a73e5c2848c23cbf97e03e7c5fd9ce207af163bf7afd42e635ad4ea187c1829063567c2f07c8d44adc8df07f
@@ -390,10 +390,10 @@ module TestCentricity
390
390
  unless page.has_selector?(page_locator)
391
391
  body_class = find(:xpath, '//body')[:class]
392
392
  error_message = %(
393
- Expected page to have selector '#{page_locator}' but found '#{body_class}' instead.
394
- Expected URL of page was #{page_url}.
395
- Actual URL of page loaded = #{URI.parse(current_url)}.
396
- )
393
+ Expected page to have selector '#{page_locator}' but found '#{body_class}' instead.
394
+ Actual URL of page loaded = #{URI.parse(current_url)}.
395
+ )
396
+ error_message = "#{error_message}\nExpected URL of page was #{page_url}." if defined?(page_url)
397
397
  raise error_message
398
398
  end
399
399
  end
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '2.0.13'
2
+ VERSION = '2.0.14'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.13
4
+ version: 2.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-18 00:00:00.000000000 Z
11
+ date: 2017-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler