effective_test_bot 1.8.0 → 1.8.1

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
  SHA256:
3
- metadata.gz: afe9f3ed70aea09b0e56cc8c1aadf560b15824418d41447528702b379048ca66
4
- data.tar.gz: 473caac40e0954a3ed0c522779e32d7f81528ba7b76e46f044d8af3773428bd3
3
+ metadata.gz: 572f968b1862bca87a7e0e06c5e0fa19638e49b53ff3bf4810612ac2871c05a3
4
+ data.tar.gz: 4afb9e0956b34ab63697d0eec7c110cb22327d35dd1ef99a193dcc9c5aa4c3d1
5
5
  SHA512:
6
- metadata.gz: c6e24064fe80a3686cee7e8d453ce1dfdc5274f51714e4b1be3545758c7a4cc9bf97171ef6f4a92a9879574079e357d6a592ca48c3804815769e7cfc851b2468
7
- data.tar.gz: 75946cccfa5261c40eb3761444579b46a2916bf3d95396c05a0ab3165546aa4e7c0fe0a4914d7ddd88cb6e24a3aeba02a698a86971c234b4014aa7731af26b4c
6
+ metadata.gz: 5f5421cc9ddde3a568e08f627f52c1dc258783d0c2d5b0037fba16370c15e46d89f6676fbbc04b4e83d3cb686171e5e2dda73cc9678928bd7d2cf9c42372cb8a
7
+ data.tar.gz: 99e41efcc07531c3cbe7bf1b6533705401dac79e30a1e454f9a6816a5849b2b0adaab4e361e7d106d2d24ac34717ac6c6bafcd9452fc3075ec106c3142e2aec0
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.8.0'.freeze
2
+ VERSION = '1.8.1'.freeze
3
3
  end
@@ -343,7 +343,7 @@ module EffectiveTestBotAssertions
343
343
  end
344
344
 
345
345
  def assert_wizard_step(step)
346
- assert page.current_url.end_with?("/#{step}"), "Expected current wizard step to be :#{step}, but it was :#{page.current_url.split('/').last}"
346
+ assert page.has_current_path?(%r{/#{Regexp.escape(step.to_s)}\z}, url: true), "Expected current wizard step to be :#{step}, but it was :#{page.current_url.split('/').last}"
347
347
  end
348
348
 
349
349
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_test_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect