rwebspec 5.2.0 → 5.2.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 +4 -4
- data/CHANGELOG +4 -0
- data/Rakefile +1 -1
- data/lib/rwebspec-common/web_page.rb +4 -1
- data/lib/rwebspec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecda38324101b40f70196ca8ab762ad3c8c51925
|
4
|
+
data.tar.gz: dbbca586984dc4b219772249f9728d4038bb7a42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e19b41471c754f9dba369921cf07dd0fc4831090a99d3941dfcfe0188e411fb3bb167fe400a2dc2696bb35f0fed53bbc1a33007394cb828f06bbb6d27c481ad
|
7
|
+
data.tar.gz: 82e62bd725cd6e3d748e0a03ca047b7ae7af383589b456a0c73853667ece335d02034b743d23b4a94ce324a25b22735f30305cd9837995c3edc01056f3afbb39
|
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -77,7 +77,7 @@ end
|
|
77
77
|
spec = Gem::Specification.new do |s|
|
78
78
|
s.platform= Gem::Platform::RUBY
|
79
79
|
s.name = "rwebspec"
|
80
|
-
s.version = "5.2.
|
80
|
+
s.version = "5.2.1"
|
81
81
|
s.summary = "Web application functional specification in Ruby"
|
82
82
|
s.description = "Executable functional specification for web applications in RSpec syntax with Watir or Selenium WebDriver"
|
83
83
|
|
@@ -33,8 +33,11 @@ module RWebSpec
|
|
33
33
|
# browser: passed to do assertion within the page
|
34
34
|
# page_text: text used to identify the page, title will be the first candidate
|
35
35
|
attr_accessor :page_specific_text
|
36
|
-
|
36
|
+
attr_accessor :assertions # for MiniTest 5: https://github.com/seattlerb/minitest/issues/286
|
37
|
+
|
37
38
|
def initialize(the_browser, page_specific_text = nil)
|
39
|
+
self.assertions = 0 # MiniTest 5
|
40
|
+
|
38
41
|
@web_browser = @browser = @web_tester = the_browser
|
39
42
|
@page_specific_text = page_specific_text
|
40
43
|
begin
|
data/lib/rwebspec.rb
CHANGED