rwebspec-webdriver 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,6 +1,9 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ == 0.3.2
5
+ * add @browser instance in Page Object
6
+
4
7
  == 0.3
5
8
 
6
9
  * move fail_safe, try_until, take_screenshot from driver to test_utils.rb
data/Rakefile CHANGED
@@ -69,7 +69,7 @@ end
69
69
  spec = Gem::Specification.new do |s|
70
70
  s.platform= Gem::Platform::RUBY
71
71
  s.name = "rwebspec-webdriver"
72
- s.version = "0.3.1"
72
+ s.version = "0.3.2"
73
73
  s.summary = "Executable functional specification for web applications in RSpec syntax and Selenium-WebDriver"
74
74
  # s.description = ""
75
75
 
@@ -31,8 +31,8 @@ module RWebSpec
31
31
  attr_accessor :page_specific_text
32
32
 
33
33
  def initialize(the_browser, page_specific_text = nil)
34
- @web_browser = the_browser
35
- @web_tester = the_browser
34
+ @web_browser = @browser = @web_tester = the_browser
35
+
36
36
  @page_specific_text = page_specific_text
37
37
  begin
38
38
  snapshot if $TESTWISE_DUMP_PAGE
@@ -17,7 +17,7 @@ require 'spec'
17
17
  require 'selenium-webdriver'
18
18
 
19
19
  unless defined? RWEBSPEC_WEBDRIVER_VERSION
20
- RWEBSPEC_WEBDRIVER_VERSION = "0.3.1"
20
+ RWEBSPEC_WEBDRIVER_VERSION = "0.3.2"
21
21
  end
22
22
 
23
23
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 1
9
- version: 0.3.1
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Zhimin Zhan
@@ -14,7 +14,7 @@ autorequire: rwebspec-webdriver
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