rwebspec 5.2.0 → 5.2.1

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: 156e67f8bd1563f0f6ba9caafc86886a57e219fd
4
- data.tar.gz: c7cb43c1210ed92f5b4c7a5fe4e873c898de6be3
3
+ metadata.gz: ecda38324101b40f70196ca8ab762ad3c8c51925
4
+ data.tar.gz: dbbca586984dc4b219772249f9728d4038bb7a42
5
5
  SHA512:
6
- metadata.gz: 86bbfd3dc866d8680b900d03c661add2fd0eea5c105d40daaff1ce037446347e420fc2f06fa19ad331d0eb0b054814bd28420178e543d84a1e9d9134bc4981b1
7
- data.tar.gz: 0149f4c3f7fe42c465f6d1dec0b2205341f99a19d2d131886441354809e665a2bbe225f070bd04c19730c936d4df8159347521250788440f9c9160052d78b133
6
+ metadata.gz: 7e19b41471c754f9dba369921cf07dd0fc4831090a99d3941dfcfe0188e411fb3bb167fe400a2dc2696bb35f0fed53bbc1a33007394cb828f06bbb6d27c481ad
7
+ data.tar.gz: 82e62bd725cd6e3d748e0a03ca047b7ae7af383589b456a0c73853667ece335d02034b743d23b4a94ce324a25b22735f30305cd9837995c3edc01056f3afbb39
data/CHANGELOG CHANGED
@@ -1,6 +1,10 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 5.2.1
5
+ [Fixes] add assertions attribute to RWebSpec::AbstractWebPage to support MiniTest 5
6
+ (for non-rwebspec projects, users need to handle themselves)
7
+
4
8
  5.2
5
9
  [Support] minitest 5
6
10
  [Change] Support activesupport version
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.0"
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
@@ -23,7 +23,7 @@ end
23
23
  require 'rspec'
24
24
 
25
25
  unless defined? RWEBSPEC_VERSION
26
- RWEBSPEC_VERSION = RWEBUNIT_VERSION = "5.2.0"
26
+ RWEBSPEC_VERSION = RWEBUNIT_VERSION = "5.2.1"
27
27
  end
28
28
 
29
29
  $testwise_polling_interval = 1 # seconds
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rwebspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zhimin Zhan