awetestlib 0.1.26-x86-mingw32 → 0.1.27-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,19 +87,14 @@ module Awetestlib
87
87
  # @return [Watir::Browser, Firewatir::Browser]
88
88
  # Returns Firewatir::Browser if target browser is Firefox version less than 4.0
89
89
  def open_ff_for_version(version = @targetVersion)
90
- if version.to_f < 4.0
91
- browser = open_ff
92
- else
93
- browser = Watir::Browser.new(:firefox)
94
- end
95
- browser
90
+ browser = Watir::Browser.new :firefox
96
91
  end
97
92
 
98
93
  # Open FF (Firefox) browser instance under FireWatir.
99
94
  # @return [Firewatir::Browser]
100
95
  def open_ff
101
- Watir::Browser.default = 'firefox'
102
- browser = Watir::Browser.new
96
+ # Watir::Browser.default = 'firefox'
97
+ browser = Watir::Browser.new :firefox
103
98
  end
104
99
 
105
100
  # Open GC (Google Chrome) browser instance.
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Awetestlib
2
- VERSION = "0.1.26"
2
+ VERSION = "0.1.27"
3
3
  VERSION_DATE = "2012-12-18"
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awetestlib
3
3
  version: !ruby/object:Gem::Version
4
- hash: 47
4
+ hash: 45
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 26
10
- version: 0.1.26
9
+ - 27
10
+ version: 0.1.27
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - Anthony Woo