rwebspec 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  CHANGELOG
2
2
  =========
3
+
4
+ 2.1.2
5
+ [Change] add @browser instance to page objects
6
+
3
7
  2.1.1
4
8
  [Change] use Global variable for retry settings (instead of class variables)
5
9
 
data/Rakefile CHANGED
@@ -71,7 +71,7 @@ end
71
71
  spec = Gem::Specification.new do |s|
72
72
  s.platform= Gem::Platform::RUBY
73
73
  s.name = "rwebspec"
74
- s.version = "2.1.1"
74
+ s.version = "2.1.2"
75
75
  s.summary = "Web application functional specification in Ruby"
76
76
  s.description = "Executable functional specification for web applications in RSpec syntax and Watir"
77
77
 
@@ -30,8 +30,7 @@ module RWebSpec
30
30
  attr_accessor :page_specific_text
31
31
 
32
32
  def initialize(the_browser, page_specific_text = nil)
33
- @web_browser = the_browser
34
- @web_tester = the_browser
33
+ @web_browser = @browser = @web_tester = the_browser
35
34
  @page_specific_text = page_specific_text
36
35
  begin
37
36
  snapshot if $TESTWISE_DUMP_PAGE || $ITEST2_DUMP_PAGE
data/lib/rwebspec.rb CHANGED
@@ -30,7 +30,7 @@ end
30
30
  require 'spec'
31
31
 
32
32
  unless defined? RWEBSPEC_VERSION
33
- RWEBSPEC_VERSION = RWEBUNIT_VERSION = "2.1.1"
33
+ RWEBSPEC_VERSION = RWEBUNIT_VERSION = "2.1.2"
34
34
  end
35
35
 
36
36
  $testwise_polling_interval = 1 # seconds
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 1
8
- - 1
9
- version: 2.1.1
8
+ - 2
9
+ version: 2.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Zhimin Zhan
@@ -14,7 +14,7 @@ autorequire: rwebspec
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-01-19 00:00:00 +10:00
17
+ date: 2012-01-22 00:00:00 +10:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency